G-Node / gin-cli

Command line client for GIN
https://gin.g-node.org
Other
12 stars 6 forks source link

More consistent file operation messages #247

Closed achilleas-k closed 5 years ago

achilleas-k commented 5 years ago

All file operations are announced before they are executed. These operations are add, commit, get-content, remove-content, lock, unlock, and upload. If no file is affected by the operation, the message "Nothing to do" is printed. In direct mode, the lock and unlock commands inform the user that files are always in an unlocked state.

None of these changes affect the JSON output. No-ops still do not print anything when JSON output is requested.

Additional changes:

Closes #246

achilleas-k commented 5 years ago

Disabled (commented out) new --verbose flags. The new feature needs a tiny bit of work still and I'd like to release the fixes in this and the previous PR as soon as this is merged.