76 lines
1.5 KiB
Plaintext
76 lines
1.5 KiB
Plaintext
"shortid" instead of full UUID "id" in default output, and then allow lookup
|
|
by that shortid. Really nice for 80 columns.
|
|
- images
|
|
- packages
|
|
- insts
|
|
- networks
|
|
|
|
triton create -n|--dry-run # does the fake delay, shows what img/pkg/etc.
|
|
|
|
image "name@version" in 'triton insts' table. Optionally?
|
|
|
|
# DONE
|
|
|
|
triton
|
|
triton -v # bunyan trace logging
|
|
triton images # list images
|
|
triton image ID|NAME # get image
|
|
triton packages # list packages
|
|
triton package ID|NAME
|
|
|
|
triton instances|insts # list machines
|
|
triton instance|inst ID|NAME # get machine
|
|
|
|
triton create # triton create-instance
|
|
|
|
triton delete VM|IMAGE # substring matching? too dangerous
|
|
triton delete --vm VM
|
|
triton delete --image IMAGE
|
|
|
|
triton cloudapi ...
|
|
triton ssh ...
|
|
|
|
triton info
|
|
|
|
|
|
|
|
# maybe today
|
|
|
|
bash completion (subcmd options)
|
|
bash completion (cached data: insts, imgs, pkgs, names and ids)
|
|
|
|
|
|
|
|
triton images
|
|
Drop 'state' in default columns. Add type to be able to see lx or not
|
|
for 'linux' ones. That might hit that stupid naming problem.
|
|
|
|
|
|
# profiles
|
|
|
|
triton profile # list all profiles
|
|
triton profile NAME # show NAME profile
|
|
triton profile -a NAME # sets it as active
|
|
triton profile -n|--new # ???
|
|
|
|
For today: only the implicit 'env' profile.
|
|
|
|
|
|
|
|
# config
|
|
|
|
~/.triton/
|
|
config.json
|
|
{"currProfile": "east3b"}
|
|
east3b/ # profile
|
|
PROFILE2/
|
|
...
|
|
|
|
|
|
|
|
# another day
|
|
|
|
triton config get|set|list # see 'npm config'
|
|
|
|
triton --shell # or whatever, repl
|