diff --git a/commands/create-snoot.js b/commands/create-snoot.js index 979554f..838fbcb 100755 --- a/commands/create-snoot.js +++ b/commands/create-snoot.js @@ -28,7 +28,7 @@ async function getKeysFromGithub (githubUsername) { .then(response => response.text()) } -module.exports = async function createSnoot ({snoot: name = ""}) { +module.exports = async function createSnoot () { let hasPrivilege = unix.checkYourPrivilege() if (!hasPrivilege) { diff --git a/index.js b/index.js index f899ea7..f9251e7 100755 --- a/index.js +++ b/index.js @@ -21,24 +21,8 @@ yargs .command( ["create ", "new "], "create a new snoot", - positionalSnoot, + noop, createSnoot ) .command(["ls", "list"], "list snoots", noop, ls) - .command( - "enter ", - "enter a snoot's container", - positionalSnoot, - enterSnoot - ) - .command( - "get ", - "get snoot data", - yargs => { - positionalSnoot(yargs).positional("key", { - describe: "the key for the data you'd like to see", - }) - }, - get - ) .demandCommand().argv