From 5929632e08ccb5f08ca769e18bae910cf1be5622 Mon Sep 17 00:00:00 2001 From: Trent Mick Date: Fri, 18 Mar 2016 08:51:28 -0700 Subject: [PATCH] some play ideas --- TODO.txt | 33 ++++++++++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) diff --git a/TODO.txt b/TODO.txt index 35acc86..14e3de3 100644 --- a/TODO.txt +++ b/TODO.txt @@ -9,9 +9,6 @@ note in README that full UUIDs is much faster in the API *type*: cloudapi changes to clarify: LX, docker, smartos, kvm instances -bash completion: exclude '-J', better top/bottom comment boilerplate, -put the CLI's version in the top comment, ISO date format - # maybe next PUBAPI-1117 triton create -c|--count N @@ -31,3 +28,33 @@ triton images triton config get|set|list # see 'npm config' triton --shell # or whatever, repl + + $ triton shell + $profile> cd inst + $profile inst> ls + ... + $profile inst> cd vm0 + $profile inst/vm0> get + ... + $profile inst/vm0> cd snapshot + $profile inst/vm0/snapshot> ls + ... + +extensible triton commands: + ~/.triton/plugins.d/$plugin.json + + Would be nice to not have to read/parse all these files for every run, + i.e. lazily. Is that a problem for `triton` showing commands list? + + How do plugins in other node projects work? Is there an npm special thing + that would work? + + Should plugins just be commands? Perhaps for starters, but don't hardcode + that. + + $ cat build.json + { + "cmd": "build", + "desc": "Build a Triton image from a Tritonfile" + "require": "triton-plugin-build" + } \ No newline at end of file