theme-juice 0.5.0 → 0.6.0

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: 8faea6ee55d26406a1ec3ad715e843ec0780a2f4
4
- data.tar.gz: 42a01a719dc792239ae5b32c34a715eafee59440
3
+ metadata.gz: 33c6412ef5cad2c57edc03f4b83514258076a76e
4
+ data.tar.gz: a9dd752a864bfdbe61e4ef3aed537e2eee2c8a79
5
5
  SHA512:
6
- metadata.gz: bc48633cb614d435ab717a9013377398d00535e44a6c89b8db0ef1f921154f5d5bf62fe80ee32cac6a3389b5fc60c59fd173ca8fa866003e98a3f4fe661480dc
7
- data.tar.gz: 5c993eb4ef4b00f36d5f0585394550d7244e9ac8ee0e105ecf20ec9c3f90bd0f0babaf0976024a4a094ff077417408434f34aeeeaf7c19577f5b8da38d120116
6
+ metadata.gz: c37e19174cc71fda9ee05c3b94e6b6056d46bbb057846931ec18573752afa7e3e42f5bf44b1104a9dcb9e64f4b2bc0da823b7f7371a4214079e2d26b01608048
7
+ data.tar.gz: 6f0a2d59e44f8ea18fc12fb8db17a3479801d335ffcf2609a195fc3c12542603792c1e83be2fba63187bbb7820bd79ac225d4d197a3c7d4ae0dd66e880a240f4
data/README.md CHANGED
@@ -23,7 +23,7 @@ commands:
23
23
 
24
24
  _Note: If you use a starter theme that doesn't have a `tj.yml` file, you'll be prompted through a series of steps in order to create one._
25
25
 
26
- #### Command options:
26
+ ### Command options:
27
27
  | Option | Usage |
28
28
  |:--------- |:----------------------------------------------------------------------------- |
29
29
  | `watch` | Command to be aliased when you run `tj watch` for bulding assets |
@@ -39,7 +39,7 @@ List all commands for `tj`.
39
39
  tj
40
40
  ```
41
41
 
42
- ### Global flags:
42
+ #### Global flags:
43
43
  | Flag | Type | Description |
44
44
  |:-------------------------|:------ |:------------------------------------------ |
45
45
  | `-nu, [--no-unicode]` | Bool | Disable all unicode characters |
@@ -64,7 +64,7 @@ tj create [<SITE-NAME>] # Aliases: new, add, build, make
64
64
  | `-b, [--bare]` | Bool | Create a VVV site without a starter theme |
65
65
  | `-s, [--site=SITE]` | String | Name of the development site |
66
66
  | `-l, [--location=LOCATION]` | Path | Location of the local site |
67
- | `-t, [--theme=THEME]` | URL | Starter theme to install (can use `none`) |
67
+ | `-t, [--theme=THEME]` | URL | Starter theme to install |
68
68
  | `-u, [--url=URL]` | URL | Development URL of the site (must end in `.dev`) |
69
69
  | `-r, [--repository]` | String | Initialize a new Git remote repository |
70
70
  | `[--skip-repo]` | Bool | Skip repository prompts and set to `none` |
data/bin/tj CHANGED
@@ -1,18 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # encoding: UTF-8
3
3
 
4
- require "thor"
5
-
6
- Signal.trap "INT" do
7
- ThemeJuice::UI.speak "Bye bye!", {
8
- color: :yellow,
9
- icon: :general,
10
- newline: true
11
- }
12
-
13
- exit 130
14
- end
15
-
16
4
  begin
17
5
  require_relative "../lib/theme-juice"
18
6
  rescue LoadError => err
@@ -20,4 +8,8 @@ rescue LoadError => err
20
8
  exit 1
21
9
  end
22
10
 
23
- ThemeJuice::CLI.start
11
+ Signal.trap "INT" do
12
+ ::ThemeJuice::Interaction.goodbye
13
+ end
14
+
15
+ ::ThemeJuice::CLI.start