From 1ae1a152591f1a7533fca23fd4269754fd21f32d Mon Sep 17 00:00:00 2001 From: Kostas Lekkas Date: Wed, 8 Mar 2017 19:26:08 +0000 Subject: [PATCH] Implement 'resin local' --- lib/actions/index.coffee | 1 + lib/app.coffee | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/lib/actions/index.coffee b/lib/actions/index.coffee index 0ec98c17..31c391d1 100644 --- a/lib/actions/index.coffee +++ b/lib/actions/index.coffee @@ -23,6 +23,7 @@ module.exports = env: require('./environment-variables') keys: require('./keys') logs: require('./logs') + local: require('./local') notes: require('./notes') help: require('./help') os: require('./os') diff --git a/lib/app.coffee b/lib/app.coffee index d1ff2e52..ac98d490 100644 --- a/lib/app.coffee +++ b/lib/app.coffee @@ -124,6 +124,15 @@ capitano.command(actions.sync) # ---------- SSH Module ---------- capitano.command(actions.ssh) +# ---------- Local ResinOS Module ---------- +capitano.command(actions.local.configure) +capitano.command(actions.local.flash) +capitano.command(actions.local.logs) +capitano.command(actions.local.promote) +capitano.command(actions.local.push) +capitano.command(actions.local.ssh) +capitano.command(actions.local.scan) + update.notify() plugins.register(/^resin-plugin-(.+)$/).then ->