I chanced in issuing idoitcli create file/"Patches MYHOST_2011-05-03.txt"
The file entry showed up in idoit. But how do I upload the file via idoitcli?
Expected behavior
idoitcli list or idoitcli create -h should show some hints how to upload files to idoit. From using the API, I know that there would be 3 steps:
- create the file object (that I did)
- upload the file content (cmdb.category.create)
- link the file to MYHOST (also cmdb.category.create)
Actual behavior
There are no hints available how to achieve this.
Steps to reproduce the behavior
Get a file and try to upload 😁
idoitcli create file/"Patches MYHOST_2011-05-03.txt" creates a File object named "Patches MYHOST_2011-05-03.txt" inside idoit
idoitcli create ??? uploads the file content
idoitcli create ??? joins the file to another object, like a Server object
I'm sorry if I missed available docs, but I've been too thick to find them. 😞
Regards, Werner
I chanced in issuing
idoitcli create file/"Patches MYHOST_2011-05-03.txt"The file entry showed up in idoit. But how do I upload the file via idoitcli?
Expected behavior
idoitcli listoridoitcli create -hshould show some hints how to upload files to idoit. From using the API, I know that there would be 3 steps:Actual behavior
There are no hints available how to achieve this.
Steps to reproduce the behavior
Get a file and try to upload 😁
idoitcli create file/"Patches MYHOST_2011-05-03.txt"creates a File object named "Patches MYHOST_2011-05-03.txt" inside idoitidoitcli create ???uploads the file contentidoitcli create ???joins the file to another object, like a Server objectI'm sorry if I missed available docs, but I've been too thick to find them. 😞
Regards, Werner