appd 0.4.2 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0fcb149ad109bcb4088b78f6492306bd3317cc89
4
- data.tar.gz: 7abb69049d7db3c378a102a8bf10a7e5d08783b4
3
+ metadata.gz: ab607338755af610bed33e7b82318596f3d0b41c
4
+ data.tar.gz: a8bd90b667eea853a0e054aa087c4c3e2caf2f66
5
5
  SHA512:
6
- metadata.gz: ae0e0bad213f4b4a3125728388934ccac6b13b64b2f98293d6a4c96666a369000996c0cbd7b2ae7792d2cb9caa4086d1ba8ed8f75efd2a469d0d2f922b05df31
7
- data.tar.gz: 79012e7cc52b8b5aa9135db7b11a00ef12819db77ea15787482120b0380af7b6ccb5b6a7d722d6df569a57eef70c3b338a47fe211562342180704e998246c7ec
6
+ metadata.gz: bed75b088690c1507ff6899040f629af1253efc54b8422f72fd7a0cc3b54ef72f1de7e9b9bc7ff739e2608edd064b81a950020dcc43353b21c86494020c950de
7
+ data.tar.gz: a0c732b9506371c9f98c4be087a53dd7be3dd56b3d9655c34f2f1f809e830a8d049482ea88e08173d25d317e1b9c14cac2a4e3e0a69ba636703794f7dd09dcc2
data/README.md CHANGED
@@ -41,7 +41,7 @@ Commands:
41
41
  up SERVICES # Create and start services
42
42
  stop SERVICES # Stop services
43
43
  restart SERVICES # Restart services
44
- exec SERVICE COMMAND # Execute a command in a running container
44
+ exec SERVICE -c "COMMAND" # Execute a command in a running container
45
45
 
46
46
  Note: appd looks for apps in the $APP_PATH directory.
47
47
  APPNAME can be . for current app.
data/lib/appd/cli.rb CHANGED
@@ -44,9 +44,10 @@ module Appd
44
44
  app.restart(*services)
45
45
  end
46
46
 
47
- desc "exec SERVICE COMMAND", "Execute a command in a running container"
48
- def exec(service, *command_args)
49
- app.exec(service, command_args.join(" "))
47
+ desc "exec SERVICE -c \"COMMAND\"", "Execute a command in a running container"
48
+ option :command, type: :string, aliases: "-s", required: true
49
+ def exec(service)
50
+ app.exec(service, options.command)
50
51
  end
51
52
 
52
53
  private
data/lib/appd/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Appd
2
- VERSION = "0.4.2"
2
+ VERSION = "0.4.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Morgan Showman