Dave Eddy
e2411f5cbb
make triton cloudapi
more like curl
...
- `-X method` to specify method
- `-H 'key: value'` to specify header
2015-09-04 16:27:39 -04:00
Dave Eddy
d8a5f247f2
add make test to npm test
2015-09-04 14:38:14 -04:00
Dave Eddy
da0831d523
TODO done
2015-09-04 14:12:52 -04:00
Dave Eddy
bdc3ea6651
mpl and copyright
2015-09-04 14:12:20 -04:00
Dave Eddy
0fee17fda0
getting ready for OSS
...
- s/triton/tritonapi/
- s/Triton/TritonApi/
- s/CloudAPI/CloudApi/
2015-09-04 14:05:36 -04:00
Trent Mick
17c7a84ace
use latest published cmdln with bash completions
2015-09-04 10:55:10 -07:00
Dave Eddy
11543f23b8
info cleanup
2015-09-04 13:44:40 -04:00
Dave Eddy
7a7c204140
style fixes
2015-09-04 13:01:55 -04:00
Dave Eddy
3dd84362d0
completion handled by node-cmdln
2015-09-04 13:01:00 -04:00
Trent Mick
411659180f
bash completion support
2015-09-04 00:09:19 -07:00
Trent Mick
f6f0843200
right alignment of numerical columns for 'triton pkgs'
2015-09-03 23:52:12 -07:00
Dave Eddy
de2a462f16
triton info cleanup, fixes #8
2015-09-03 18:24:39 -04:00
Dave Eddy
edcc2a52ed
Merge pull request #10 from joyent/dave.eddy-1441318327
...
use mkdirp to create cache directories
2015-09-03 18:19:18 -04:00
Dave Eddy
af97077dc8
Merge pull request #9 from joyent/dave.eddy-1441318129
...
add common.getCliTableOptions for tabula
2015-09-03 18:19:06 -04:00
Dave Eddy
f3aad05fc9
use mkdirp to create cache directories
2015-09-03 18:12:08 -04:00
Dave Eddy
e48395d446
add common.getCliTableOptions for tabula
...
- common tabula options managed in "common"
- "datacenters" and "services" pass raw data with -j
2015-09-03 18:09:21 -04:00
Trent Mick
19ede6e489
joyent/node-triton#7 "triton create" could better handle missing package argument
2015-09-03 10:19:02 -07:00
Dave Eddy
804fe155b9
sprintf was a lie - use format everywhere
2015-09-03 00:02:40 -04:00
Dave Eddy
716976efa8
pass create data in post body
2015-09-03 00:02:09 -04:00
Dave Eddy
1cc87edb0f
per-profile cache directory using account+url slug
2015-09-02 23:48:14 -04:00
Dave Eddy
da8e13b45e
more assertions in common, ensure tests run with assertions
2015-09-02 23:30:07 -04:00
Dave Eddy
b6e4c06742
tabula changes
...
- "datacenters" and "services" both use tabula
- comman tabula options moved to common
2015-09-02 23:24:08 -04:00
Dave Eddy
538eb7612a
fix git-hook directive in Makefile
...
- symlinks are relative to the destination file
- don't check if it exists first - just obliterate
2015-09-02 23:23:31 -04:00
Dave Eddy
782c82faa7
remove executable bits on non-executable files
2015-09-02 16:33:30 -04:00
Dave Eddy
c3a91411f9
lots of unit tests
2015-09-02 15:38:27 -04:00
Trent Mick
c028501d66
TODOne
2015-09-02 10:47:50 -07:00
Trent Mick
018c46ef43
'make check' clean
2015-09-02 10:47:06 -07:00
Trent Mick
db81ff9db2
TODO
2015-09-02 10:39:09 -07:00
Trent Mick
516cf29bc5
TODOne
2015-09-02 10:28:11 -07:00
Trent Mick
68a99fa81c
drop cruft and debugging/commented code
2015-09-02 01:06:00 -07:00
Trent Mick
4064b93c8e
joyent/node-triton#5 show usage info on usage errors
2015-09-02 01:04:20 -07:00
Trent Mick
58a7c9977b
joyent/node-triton#4 triton networks/network to support shortId as well and to include fabric
...
flag
2015-09-02 00:03:17 -07:00
Dave Eddy
ae8a19d568
quick jsstyle cleanup
2015-09-01 15:03:52 -04:00
Dave Eddy
0d53e878e9
javascript lint cleanup
2015-09-01 14:51:02 -04:00
Dave Eddy
09052c0f80
silence make check file list
2015-09-01 14:45:56 -04:00
Trent Mick
d9b104de4b
'make git-hooks' to install hooks
2015-09-01 10:55:39 -07:00
Dave Eddy
d76535b4d2
negative sizes support, add more tests
2015-09-01 13:47:35 -04:00
Trent Mick
12c9cb64a6
Factor out spinner to prep for using it for 'triton wait'.
...
Also refactor 'triton wait' for debuggability and to avoid possible
multiple calls to the callback.
2015-09-01 10:44:34 -07:00
Trent Mick
9241f90ccf
'make check-jsl' clean
2015-09-01 10:44:34 -07:00
Dave Eddy
42f0ee5a41
fix bug in humanSizeFromBytes
2015-09-01 13:44:10 -04:00
Dave Eddy
c4f85db8d8
support for triton ssh user@id
2015-09-01 10:16:42 -04:00
Trent Mick
333c47ae26
a start at a test framework
2015-09-01 00:31:00 -07:00
Trent Mick
3c90b321fd
a very small start at 'make check' clean
2015-08-31 16:56:26 -07:00
Trent Mick
f0f8062f8f
TODO
2015-08-31 15:19:10 -07:00
Trent Mick
fd0fa369ab
triton wait: change signature to take states as an arg, and multiple separate instance name/id args
2015-08-31 15:16:58 -07:00
Trent Mick
022471afa7
triton packages: make --human the default, use -p to override. Nicer, some what kludged sorting by group and memory
2015-08-31 15:16:58 -07:00
Dave Eddy
016e2d94f0
unnecessary call to common function
2015-08-31 17:14:48 -04:00
Trent Mick
dfc3e013b6
'triton insts' default output changes
...
Change default short and --long output of 'triton insts' somewhat
per feedback from Angela.
I also dropped validFields and turned on dottedLookup so you can do
stuff like:
triton insts -o shortid,name,tags.foo,metadata.root_authorized_keys
2015-08-31 13:11:34 -07:00
Trent Mick
e145090c79
Fix handling of SDC_TESTING envvar (really really this time)
2015-08-31 12:31:06 -07:00
Trent Mick
1b2ed0758e
Fix handling of SDC_TESTING envvar
2015-08-31 12:23:20 -07:00