From 23fc9d4b3f00dfb670a1636d58444af1b77a1a91 Mon Sep 17 00:00:00 2001 From: Trent Mick Date: Tue, 25 Aug 2015 16:19:19 -0700 Subject: [PATCH] some aliases; update TODO --- TODO.txt | 9 ++++++--- lib/do_image.js | 2 ++ lib/do_images.js | 2 ++ lib/do_package.js | 2 ++ lib/do_packages.js | 1 + 5 files changed, 13 insertions(+), 3 deletions(-) diff --git a/TODO.txt b/TODO.txt index 29f5d12..91d3d64 100644 --- a/TODO.txt +++ b/TODO.txt @@ -5,21 +5,24 @@ triton instances|insts # list machines triton instance|inst ID|NAME|UNIQUE-NAME-SUBSTRING # get machine # -1 for unique match, a la 'vmadm lookup -1' -triton package PACKAGE - triton create # triton create-instance triton create -p PKG [...] IMG triton create -i IMG -p PKG [-n NAME] [...] # example: triton create base64 -p t4-standard-1g +triton image NAME|SUBSTRING +triton package NAME|SUBSTRING + # DONE triton triton -v # bunyan trace logging triton images # list images -triton packages # list packages triton image IMAGE # get image +triton packages # list packages +triton package PACKAGE + diff --git a/lib/do_image.js b/lib/do_image.js index 6227a08..5d176b8 100644 --- a/lib/do_image.js +++ b/lib/do_image.js @@ -61,4 +61,6 @@ do_image.help = ( /* END JSSTYLED */ ); +do_image.aliases = ['img']; + module.exports = do_image; diff --git a/lib/do_images.js b/lib/do_images.js index d8068a6..583ee8d 100644 --- a/lib/do_images.js +++ b/lib/do_images.js @@ -148,4 +148,6 @@ do_images.help = ( /* END JSSTYLED */ ); +do_images.aliases = ['imgs']; + module.exports = do_images; diff --git a/lib/do_package.js b/lib/do_package.js index 53cd8a5..ce8a92f 100644 --- a/lib/do_package.js +++ b/lib/do_package.js @@ -61,4 +61,6 @@ do_package.help = ( /* END JSSTYLED */ ); +do_package.aliases = ['pkg']; + module.exports = do_package; diff --git a/lib/do_packages.js b/lib/do_packages.js index cf3f55a..f9fd925 100644 --- a/lib/do_packages.js +++ b/lib/do_packages.js @@ -86,5 +86,6 @@ do_packages.help = ( + '{{options}}' ); +do_packages.aliases = ['pkgs']; module.exports = do_packages;