diff --git a/CHANGES.md b/CHANGES.md index cfb1f50..ef75452 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1 +1 @@ -# node-sdc CLI Changelog +# node-triton changelog diff --git a/Makefile b/Makefile index 903b804..dd5bf85 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,13 @@ # -# Copyright (c) 2014, Joyent, Inc. All rights reserved. +# Copyright (c) 2015, Joyent, Inc. All rights reserved. # -# Makefile for node-sdc +# Makefile for node-triton # # # Vars, Tools, Files, Flags # -JS_FILES := bin/sdc \ +JS_FILES := bin/triton \ $(shell find lib -name '*.js' | grep -v '/tmp/') JSL_CONF_NODE = tools/jsl.node.conf JSL_FILES_NODE = $(JS_FILES) diff --git a/README.md b/README.md index a71bd83..0e9792f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -`sdc` is a CLI for Joyent SmartDataCenter and the -Joyent Public Cloud (, +`triton` is a tool for Joyent's Triton (a.k.a. SmartDataCenter), either for on-premises installations +of Triton or Joyent's Public Cloud (, ). **This project is experimental and probably broken. For now, please look @@ -8,15 +8,15 @@ at [node-smartdc](https://github.com/joyent/node-smartdc).** # Installation 1. Install [node.js](http://nodejs.org/). -2. `npm install -g sdc` +2. `npm install -g git://github.com/joyent/node-triton` Verify that installed and is on your PATH: - $ sdc --version - sdc CLI 1.0.0 + $ triton --version + Triton client 1.0.0 Before you can used the CLI you'll need a Joyent account, an SSH key uploaded -and `sdc` configured with those account details. +and `triton` configured with those account details. # Setup @@ -27,7 +27,7 @@ TODO TODO -# node-sdc differences with node-smartdc +# node-triton 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`. diff --git a/bin/sdc b/bin/triton similarity index 54% rename from bin/sdc rename to bin/triton index 161b113..1ae7edd 100755 --- a/bin/sdc +++ b/bin/triton @@ -1,8 +1,8 @@ #!/usr/bin/env node /* - * Copyright (c) 2014 Joyent Inc. All rights reserved. + * Copyright (c) 2015 Joyent Inc. All rights reserved. * - * sdc command + * triton command */ var p = console.log; @@ -10,5 +10,5 @@ var cmdln = require('cmdln'); var CLI = require('../lib/cli'); if (require.main === module) { - cmdln.main(CLI, process.arg, {showCode: true}); + cmdln.main(CLI, process.argv, {showCode: true}); } diff --git a/docs/index.md b/docs/index.md deleted file mode 100644 index 86c4d1a..0000000 --- a/docs/index.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: sdcadm (Administer a SDC standup) -markdown2extras: wiki-tables, code-friendly, cuddled-lists, link-patterns -markdown2linkpatternsfile: link-patterns.txt -apisections: ---- - -# sdcadm - -TODO diff --git a/docs/link-patterns.txt b/docs/link-patterns.txt deleted file mode 100644 index 2e2a694..0000000 --- a/docs/link-patterns.txt +++ /dev/null @@ -1 +0,0 @@ -/([A-Z]+-\d+)/ https://devhub.joyent.com/jira/browse/\1 diff --git a/etc/defaults.json b/etc/defaults.json index 5966933..ee6f6ca 100644 --- a/etc/defaults.json +++ b/etc/defaults.json @@ -1,12 +1,3 @@ { - "defaultProfile": "env", - "dc": { - "us-east-1": "https://us-east-1.api.joyent.com", - "us-west-1": "https://us-west-1.api.joyent.com", - "us-sw-1": "https://us-sw-1.api.joyent.com", - "eu-ams-1": "https://eu-ams-1.api.joyent.com" - }, - "dcAlias": { - "joyent": ["us-east-1", "us-sw-1", "us-west-1", "eu-ams-1"] - } + "defaultProfile": "env" } diff --git a/package.json b/package.json index 2d6c65b..997f558 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "sdc", - "description": "Joyent SmartDataCenter CLI (http://www.joyent.com/products/compute-service)", + "name": "triton", + "description": "Joyent Triton tool and client (http://www.joyent.com/products/compute-service)", "version": "1.0.0", "author": "Joyent (joyent.com)", "private": true,