This repository has been archived on 2020-01-20. You can view files and clone it, but cannot push or open issues or pull requests.
node-spearhead/TODO.txt

60 lines
1.8 KiB
Plaintext
Raw Normal View History

- The 'shortcut' commands use `handlerFromSubcmd(...).dispatch`. That
doesn't run the subcmd class's `.init()` method. node-cmdln should provide
a way to do this. ... basically want to call the *main()* but with preparsed
options. Perhaps the init/fini should move into dispatch?
triton create affinity support for tag matching, globs, regex
2015-08-27 04:06:12 +03:00
note in README that full UUIDs is much faster in the API
2015-09-01 01:19:10 +03:00
*type*: cloudapi changes to clarify: LX, docker, smartos, kvm instances
2015-08-26 22:06:19 +03:00
# maybe next
2015-08-26 22:06:19 +03:00
PUBAPI-1117 triton create -c|--count N
2015-09-02 20:39:09 +03:00
Rate limiting. Testing with non-op accounts. I suspect PUBAPI-1117 and other
usage will lead to rate limiting errors from cloudapi. `triton` should
(a) retry reasonably on those error codes and (b) proactively control rate
of cloudapi requests (tunable).
2015-08-26 00:25:30 +03:00
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.
# another day
triton config get|set|list # see 'npm config'
2015-08-26 01:47:29 +03:00
triton --shell # or whatever, repl
2016-03-18 17:51:28 +02:00
$ 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"
}