iroh icon indicating copy to clipboard operation
iroh copied to clipboard

Bug: No ability to delete documents after they are added.

Open haltingstate opened this issue 1 year ago • 2 comments

  1. Doc Delete, -d does not work
  • Doc Delete needs a command example in the help
  • nothing works, from CLI ( I did not try terminal)
  • help command not useful
  • no example usage in documentation
  • no example usage in help command
  1. Doc drop, deletes the data, but the document still appears in "doc list"

TODO:

  • put example usage in --help command
  • test command in CLI (does it actually work?)
  • update documentation page with example command

https://iroh.computer/docs/api/doc-drop


Also must include

  • adding document
  • listing document
  • removing document in instructions

haltingstate avatar Jul 14 '24 23:07 haltingstate

To clarify, there is doc del and doc drop

Copied from the --help section

  • doc del: Delete all entries below a key prefix
  • doc drop: Delete a document from the local node`

When I run doc drop <namespace id> the document is not listed anymore, as it should afterwards. Can you describe what commands you ran to trigger the behaviour you mentioned?

dignifiedquire avatar Jul 22 '24 12:07 dignifiedquire

Also must include

These are already available

  • adding document
  • https://iroh.computer/docs/api/doc-import
  • https://iroh.computer/docs/api/doc-new
  • listing document
  • https://iroh.computer/docs/api/doc-keys
  • removing document in instructions
  • https://iroh.computer/docs/api/doc-drop

dignifiedquire avatar Jul 22 '24 12:07 dignifiedquire

Closing, as we have removed iroh-cli

dignifiedquire avatar Dec 10 '24 13:12 dignifiedquire