dogids-cli 0.0.28 → 0.0.29

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f743e46965fa916cc7f6557dac0b012d6e291072
4
- data.tar.gz: 2e0476139077a7e00c0a20f89507c110294baa58
3
+ metadata.gz: fc15503cdb9c952f107c09cceebcccb6c9131fad
4
+ data.tar.gz: 4bd85c11849fe4f511bd46bfec0cb8a0d408d61c
5
5
  SHA512:
6
- metadata.gz: ffeb21a0433b7ea13f4d9c9d1fd32a2d416dd4aab8c47ee791309271146d27adc7c42bf5f14e8c15a65018b90a51c648c79c38a0d2b944235fbbe9fcc6f4d662
7
- data.tar.gz: 6f5a87c2d58e0ca6cd0150c7ec211e06c31fadf258e245ff04d415f3e0073c6fd1710ae2bd635317318a10e27fbf308825a460fd450fe6316e32aeb17aa00a50
6
+ metadata.gz: 0aa738904c3f6bbc84becf64fa6f738bd5b1c03df2472825288f58fc9fc447866da69ccf08b00a40c31edd6946b12d338a2045f4334ec8c06bd8dc891a67887d
7
+ data.tar.gz: 32f9651cb26da5eb5d3335216c3755582bf9196de634c9d893e441fdb9e5a709cf2dad3b692e6da098673a672bc5902ce5929db8a5c2fb70f4fdc6b8e072b1d7
@@ -3,5 +3,6 @@ require_relative "dogids/cache"
3
3
  require_relative "dogids/config"
4
4
  require_relative "dogids/deploy"
5
5
  require_relative "dogids/reload"
6
+ require_relative "dogids/run"
6
7
  require_relative "dogids/ssh"
7
8
  require_relative "dogids/version"
@@ -0,0 +1,16 @@
1
+ require "net/ssh"
2
+ require "thor"
3
+ module Dogids
4
+ class Cli < Thor
5
+ desc "dev", "Runs the development environment for the backend"
6
+
7
+ # Run the development site
8
+ # @param [string] app_name
9
+ def dev(app_name = nil)
10
+ system("cd ~/dogids-backend/themes/dogids && npm run dev")
11
+ end
12
+
13
+ # no_commands do
14
+ # end
15
+ end
16
+ end
@@ -3,7 +3,7 @@ require "open-uri"
3
3
  require "thor"
4
4
 
5
5
  module Dogids
6
- VERSION = "0.0.28"
6
+ VERSION = "0.0.29"
7
7
 
8
8
  class Cli < Thor
9
9
  desc "update", "Update dogids-cli to latest version"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dogids-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.28
4
+ version: 0.0.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jaryd Krishnan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-16 00:00:00.000000000 Z
11
+ date: 2017-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-ssh
@@ -81,6 +81,7 @@ files:
81
81
  - lib/dogids/deploy/web.rb
82
82
  - lib/dogids/deploy/worker.rb
83
83
  - lib/dogids/reload.rb
84
+ - lib/dogids/run.rb
84
85
  - lib/dogids/ssh.rb
85
86
  - lib/dogids/ssh/development.rb
86
87
  - lib/dogids/ssh/production.rb