codebase-cli 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +23 -1
  2. data/bin/cb +1 -1
  3. metadata +1 -1
data/README.md CHANGED
@@ -1,7 +1,29 @@
1
1
  # Codebase Command Line Interface
2
2
 
3
- Command utilty to open codebase repositories in you browser.
3
+ Command utilty to open codebase repositories in you browser
4
4
 
5
+ ## Install
6
+
7
+ $ gem install codebase-cli
8
+
9
+ ## Usage
10
+
11
+ #### Enter the repository folder
12
+ $ cd <CODEBASE_REPOSITORY>
13
+
14
+ #### open the repository homepage
15
+ $ cb
16
+
17
+ #### open the specified file
18
+ $ cb <file>
19
+
20
+ #### open the specified object(commit, tag, branch)
21
+ $ cb -r <object>
22
+
23
+ #### open the specified branch
24
+ $ cb -b <branch>
25
+
26
+
5
27
  ## Authors
6
28
 
7
29
  * [Lucas Fais](https://github.com/lucasfais)
data/bin/cb CHANGED
@@ -11,7 +11,7 @@ def open(url)
11
11
  if RUBY_PLATFORM =~ /darwin/
12
12
  command = 'open'
13
13
  elsif RUBY_PLATFORM =~ /linux/
14
- command = 'xgd-open'
14
+ command = 'xdg-open'
15
15
  else
16
16
  command = 'start'
17
17
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codebase-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: