stg 0.1.0 → 0.1.1

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/actions.rb +1 -1
  3. data/lib/help.rb +9 -3
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e9c7c1bdc57ae80ecb2f59b5104e4c2e2be91521044a8921e0a801879843543d
4
- data.tar.gz: ea29aa8292c71cfc198232b977eca56a971698e2de7efed838ea78427c92ce79
3
+ metadata.gz: 4ebc70931cee2053b5b4f7ff6e9db88f8b588dfd456c46c6841c9f1099a4bb4e
4
+ data.tar.gz: 70e8f54fddcfdbedf1f79d2ce0f66bd8df39702acae2ee0529377dc81db5a36c
5
5
  SHA512:
6
- metadata.gz: f57259e0e823d045aedef0004c892c9009f8ae5bdd6ad5820500402f0663e36b24125a1815fa0e6d2d3f59efc8db4540c5582ff0ebcb8ef57c425e4a3c4c2681
7
- data.tar.gz: e2368f884e3fad925e0bd9d0716f663189a9cbd8e772f7a32b6ad567e3451dd9ec82052fb29c30e21caffec5f9ba22103f56bdc666a405ba928f701af92bb349
6
+ metadata.gz: 8ba04037ec33573dcfaf4b96459b8f108e04fff35b868b9388a200d566d64a54511312fb09f0521e2ac1cbcf42bfbdd7fa22357c8a6f2490204607cd8fd8b233
7
+ data.tar.gz: fe189c3594e4b19af00263cce356db8cb72a13a7739f5c4ebdf877e1c9d0551c6c71d59aa9629fe3e2cd8d7f8bc5a466cd18b3492acddf97fb089f505b6d6bf8
data/lib/actions.rb CHANGED
@@ -159,7 +159,7 @@ module Actions
159
159
 
160
160
  if no_file_changed <= 0
161
161
  puts 'Everything up to date'
162
- puts "If you have changed please 'stolen-git stage' them first "
162
+ puts "If you have changed please 'stg stage' them first "
163
163
  return
164
164
  end
165
165
 
data/lib/help.rb CHANGED
@@ -1,12 +1,18 @@
1
1
  module Help
2
2
  def print_usage
3
- usage_error_message = "Usage: stolen-git <command> [options]
3
+ usage_error_message = "Usage: stg <command> [options]
4
4
 
5
5
  Commands:\n"
6
6
  commands_docs = {
7
- commit: 'Save changes',
7
+ init: 'Initialize the project',
8
+ stage: 'add a file or directory to be tracked ',
9
+ commit: 'Save the current tracked state ',
10
+ diff: 'get the difference between working directory and the last commit ',
11
+ log: 'print out commit history (limit print by a number `log <number>`) ',
8
12
  reset: 'Revert to commit',
9
- init: 'Initialize stolen-git to start tracking'
13
+ checkout: 'check a commit or a branch without loss in data',
14
+ branch: 'List all branches. (or creating a branch by `branch <name>`) '
15
+
10
16
  }
11
17
  max_len = 0
12
18
  commands_docs.each_key do |command|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amr ElTaweel