diff --git a/README.md b/README.md index 5dd7ce2..9ba4b04 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,11 @@ TODO TODO +# node-sdc differences with node-smartdc + +- There is a single `sdc` command instead of a number of `sdc-FOO` commands. +- The `SDC_USER` envvar is accepted in preference to `SDC_ACCOUNT`. + # cloudapi2.js differences with node-smartdc/lib/cloudapi.js diff --git a/TODO.md b/TODO.md index dcd27c3..5bfa80a 100644 --- a/TODO.md +++ b/TODO.md @@ -4,8 +4,7 @@ - short default output - long '-l' output, -H, -o, -s - get image defaults and fill those in -- couple commands: machine, provision (create-machine?) -- re-write of cloudapi.js (eventually a separate module) +- few more commands? provision (create-machine?) - uuid caching - UUID prefix support - profile command (adding profile, edit, etc.) diff --git a/examples/example-get-account.js b/examples/example-get-account.js index aa78c9b..7969216 100755 --- a/examples/example-get-account.js +++ b/examples/example-get-account.js @@ -16,7 +16,7 @@ var log = bunyan.createLogger({ level: 'trace' }) -var USER = process.env.SDC_ACCOUNT || process.env.SDC_USER || 'bob'; +var USER = process.env.SDC_USER || process.env.SDC_ACCOUNT || 'bob'; var KEY_ID = process.env.SDC_KEY_ID || 'b4:f0:b4:6c:18:3b:44:63:b4:4e:58:22:74:43:d4:bc'; var sign = auth.cliSigner({