Brian Warner
475e7b8804
tahoe_ls.py: add comment about error cases to improve
2009-03-16 22:12:06 -07:00
Brian Warner
a7de479767
tahoe_ls: CLI command should return rc=0, not None
2009-02-02 21:07:20 -07:00
Zooko O'Whielacronx
c79230c854
cli: if response code from wapi server is not 200 then stop instead of proceeding
...
Also, include the data that failed to json parse in an exception raised by the json parser.
2008-12-20 07:49:18 -07:00
Brian Warner
935d185696
tolerate simplejson-2.0.0 and newer, which frequently return bytestrings instead of unicode objects. Closes #523
2008-09-30 15:21:06 -07:00
Brian Warner
f181a0458a
CLI: simplify argument-passing, use options= for everthing, including stdout
2008-08-01 11:46:24 -07:00
Brian Warner
15fbe05092
tahoe_ls: improve error message when the target is missing
2008-05-21 17:34:52 -07:00
Brian Warner
3803d591cf
tahoe_ls: improve output formatting
2008-05-20 13:07:50 -07:00
Brian Warner
a8ed3208ba
CLI ls: add --readonly-uri to display readonly URIs for all children
2008-05-20 12:49:11 -07:00
Brian Warner
e889463f0c
CLI: add put --mutable, enhance ls to show mutable vs immutable as rw/r-
2008-05-20 12:36:55 -07:00
Brian Warner
8e92dfcb50
overhaul CLI: not quite complete but it works a lot better than it used to. The new scheme uses 'tahoe add-alias' and rsync/scp-style 'alias:foo/bar.txt' arguments
2008-05-19 19:28:50 -07:00
Brian Warner
4cdb252d5a
cli scripts: remove the for-educational-purposes standalone clauses. Closes #261 .
2008-01-16 00:08:51 -07:00
Zooko O'Whielacronx
4223f7216d
rename "dir-uri" to "dir-cap"
2008-01-08 10:41:27 -07:00
Zooko O'Whielacronx
5995d11a3c
remove automatic private dir
...
* rename my_private_dir.cap to root_dir.cap
* move it into the private subdir
* change the cmdline argument "--root-uri=[private]" to "--dir-uri=[root]"
2008-01-03 17:02:05 -07:00
Brian Warner
8b9f86fb17
remove the slash-to-bang conversion from CLI tools and webapi.txt
2007-12-17 20:22:26 -07:00
Brian Warner
afcc8107af
tahoe_ls: list individual files
2007-10-21 12:33:06 -07:00
Zooko O'Whielacronx
81e0820904
cli: use urllib.quote() on vdrive-path arguments before passing them through HTTP
2007-10-26 18:30:44 -07:00
Brian Warner
8985b6565d
cli: add test coverage
2007-10-11 19:20:41 -07:00
Brian Warner
a470947cc3
cli: use urllib.escape on all URIs
2007-10-11 01:34:44 -07:00
Brian Warner
5b28411b04
cli: add --node-directory and --root-uri to all commands
2007-10-11 00:30:36 -07:00
Zooko O'Whielacronx
0c22044f7e
command-line: remove the --vdrive option (it is now hardcoded to "global")
2007-08-23 13:27:00 -07:00
Zooko O'Whielacronx
a12ef1ae82
command-line: add "rm", and tidy-up variable names, and make it so "allmydata-tahoe spam" prints a usage message instead of returning silently
2007-08-17 13:23:16 -07:00
Zooko O'Whielacronx
bffd0c97f5
command-line: fix all three commands and all two ways to invoke them to require node-url and give a useful usage string if node-url is absent or of the wrong form
2007-08-17 12:54:47 -07:00
Zooko O'Whielacronx
32166c360a
tahoe_ls: remove a couple of vestigial or debugging bits
2007-07-10 19:46:40 -07:00
Brian Warner
b419b853ea
cli: implement 'allmydata-tahoe ls'
2007-07-10 19:37:37 -07:00