minimum-viable-product 0.0.4 → 0.0.5

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: 9d7ffc0cf1ae587642c64d639efc0c16b8b522dc
4
- data.tar.gz: de95a502ed0daf9f184d85c59d3e12c232d66530
3
+ metadata.gz: 3e81832ad00033a0f31351f97785e051b0475840
4
+ data.tar.gz: e80cb1f400d09e7d1b64d57c2546c5323755a2bb
5
5
  SHA512:
6
- metadata.gz: 8fcb337788def91b2109f8053a858ffc6a42df585746e9c7fe9f8c627ce1a9c2d80026150dd4a5c8cc62bc12942e7ba72680b23caefd079a03ae127c68d7986e
7
- data.tar.gz: 91712fa30b0c34f9806cb49c9ac1d829bdc9258a4758a41014d96db45ebde4cc2f69d4ecde658bcb3c210195fe590b75822bd123aa84233a7859cda99b0f08bd
6
+ metadata.gz: 0aab9a8bd91f1e5af0f124988b39ed4e688c6736cafacb389c7e07304b3d2067bcf32f807d0eeb3eab1c746b46404f5b4ba96effff6c969b951ee1a39f4ac017
7
+ data.tar.gz: cd6e5ecf74686b422c3fc35c191362283f098c7709666715e9215d702070d5c5797f1c14f7dcc8caf1da07f36d98659875cf0544dd5e0ba3953d6d9fbe8f7ed9
data/bin/mvp CHANGED
@@ -4,21 +4,26 @@ command = ARGV[0]
4
4
 
5
5
  error(%%
6
6
  No command specified, please use one of the following
7
- project: start a new project
7
+ new: start a new project
8
8
  update: update mvp inside current project
9
9
  %) unless command
10
10
 
11
11
  case command.downcase
12
- when 'project'
13
- $stdin.reopen(File.open("/dev/tty", "r"))
12
+ when 'new'
13
+ project = if ARGV[1]
14
+ ARGV[1]
15
+ else
16
+ $stdin.reopen(File.open("/dev/tty", "r"))
17
+ print "Project name? "
18
+ STDIN.gets.chomp
19
+ end
14
20
 
15
- print "Project name? "
16
- project = STDIN.gets.chomp
17
21
  error('Must specify a project name') if project == ""
22
+
18
23
  slug = slugify(project)
19
24
 
20
25
  puts
21
- run "git clone git@github.com:ian/harness.git #{slug}"
26
+ run "git clone git@github.com:ian/mvp-rails.git #{slug}"
22
27
 
23
28
  puts
24
29
  puts "Initializing Project"
@@ -1,3 +1,3 @@
1
1
  module MinimumViableProduct
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minimum-viable-product
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian Hunter