phoenix-cli 0.0.1 → 0.0.2

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: 3c4676f27ec5d5acd813f29fea55f915269e0c1d
4
- data.tar.gz: 03b87a98057016a9377a87362eee454e76c32f3d
3
+ metadata.gz: 5cc9064ce84e8d4defffb542d5786dfa807c9f70
4
+ data.tar.gz: e077c755df40787c3bc00ed844a9f47c05c1c841
5
5
  SHA512:
6
- metadata.gz: 6eb2928de5ea94c827477329580ccac6c32e5bb2e909d765f5cc10f9642fa01b486334a4e4fce5ccdab34c76618675f94fc37839525b6f6031f0e1f39781c8c6
7
- data.tar.gz: '069f09e40d49a2e006f8f76ce7ea04070449ef78bd4711a9c5fd82c428e9b8fcccb41827dbdf39ff414bf6600289a89a7ddfda4c9971efafdd91b1754b4205cd'
6
+ metadata.gz: fb3195422b7406096f00761e7d6d24f72a4f5a4d340743f1505a612ef32c5fa63977a0b421723265bb8506fa6ab13b931daa267edba21db27f909738bfe8b84e
7
+ data.tar.gz: 327cd66defa8a090a33a309379dffed44dbc0653dc274b1466b25ddd92e3ef3682780cba0d654bf93ed4586068d58776dc41444bff47ca67875fe663cb5c15bf
data/README.md CHANGED
@@ -1,15 +1,31 @@
1
- phoenix-cli
1
+ Phoenix-cli
2
2
  =================
3
3
 
4
4
  Phoenix Pretty CLI
5
+ Use Phoenix Framework with the same friendly rails interface
5
6
 
6
7
  ## Setup
7
8
 
8
9
  1. Install `gem install phoenix-cli`.
9
10
 
10
- ## Usage
11
+ ## Getting Started
12
+
13
+ 1. Install Phoenix at the command prompt if you haven't yet:
14
+ $ phoenix install
15
+
16
+
17
+ 2. At the command prompt, create a new Phoenix application:
18
+ $ phoenix new myapp
19
+
20
+ where "myapp" is the application name.
21
+
22
+ 3. Install the phoenix dependencies
23
+ $ phoenix deps
24
+
25
+ 4. Change directory to myapp and start the web server:
26
+ $ cd myapp
27
+ $ phoenix server
11
28
 
12
- _Fill in with gem usage information._
13
29
 
14
30
  ## Development
15
31
 
@@ -20,3 +36,7 @@ To test the CLI, run
20
36
 
21
37
  ruby -Ilib bin/phoenix-cli
22
38
 
39
+
40
+ ## License
41
+
42
+ Phoenix CLI is released under the [MIT License](http://www.opensource.org/licenses/MIT).
@@ -24,6 +24,16 @@ module PhoenixCli
24
24
  exec("mix phoenix.server")
25
25
  end
26
26
 
27
+ desc "deps", "Install dependences"
28
+ def deps
29
+ exec("mix deps.get")
30
+ end
31
+
32
+ desc "console", "Run phoenix console"
33
+ def console
34
+ exec("iex -S mix")
35
+ end
36
+
27
37
  desc 'version', 'phoenix-cli version'
28
38
  def version
29
39
  puts PhoenixCli::VERSION
@@ -1,3 +1,3 @@
1
1
  module PhoenixCli
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
data/phoenix-cli.gemspec CHANGED
@@ -6,7 +6,7 @@ Gem::Specification.new do |s|
6
6
  s.version = PhoenixCli::VERSION
7
7
  s.authors = ["Dayvson Lima"]
8
8
  s.email = ["dayvsonlima31@gmail.com"]
9
- s.homepage = "http://medium.com/@dayvsonlima/"
9
+ s.homepage = "https://github.com/dayvsonlima/phoenix-cli"
10
10
  s.summary = %q{Phoenix frienfly CLI write in ruby}
11
11
  s.description = %q{Phoenix Pretty CLI for using phoenix command line friendly}
12
12
  s.licenses = ['MIT']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phoenix-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dayvson Lima
@@ -58,7 +58,7 @@ files:
58
58
  - lib/phoenix-cli/version.rb
59
59
  - phoenix-cli.gemspec
60
60
  - spec/spec_helper.rb
61
- homepage: http://medium.com/@dayvsonlima/
61
+ homepage: https://github.com/dayvsonlima/phoenix-cli
62
62
  licenses:
63
63
  - MIT
64
64
  metadata: {}