DictFlutterCommand 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 +4 -4
- data/bin/DictFlutterCommand +8 -8
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cc882ad3c1bd8b1028a1bb62f526a8708a7474cebb7b949a25a67542134d8f2f
|
|
4
|
+
data.tar.gz: 7007e63b0e4b27d08a5cec5f9990bb3c55d8790264c317eeac1f0623e0ec3569
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 88f0d1c8775d1907cb93065de5a50baad6dd8c9458b0de9c1f0f82a1603cd7a8af9c5aaea4f3ae8f2bd556c3dd0117fc615dddf9624767900b65bfc772357707
|
|
7
|
+
data.tar.gz: f7a0c5a38a62e73e0984080ba7070c7e093ad3f5ae86a46cf4e5d86a8f40a9e340cfa819f436f920747c1ed356312bc0762da5134c7c478723ba6251cacb3cc8
|
data/bin/DictFlutterCommand
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env ruby
|
|
2
2
|
require 'gli'
|
|
3
|
-
begin # XXX: Remove this begin/rescue before distributing your app
|
|
3
|
+
# begin # XXX: Remove this begin/rescue before distributing your app
|
|
4
4
|
require 'DictFlutterCommand'
|
|
5
5
|
rescue LoadError
|
|
6
6
|
STDERR.puts "In development, you need to use `bundle exec bin/DictFlutterCommand` to run your app"
|
|
@@ -12,7 +12,7 @@ end
|
|
|
12
12
|
class App
|
|
13
13
|
extend GLI::App
|
|
14
14
|
|
|
15
|
-
program_desc '
|
|
15
|
+
program_desc '词典flutter工程管理命令'
|
|
16
16
|
|
|
17
17
|
version DictFlutterCommand::VERSION
|
|
18
18
|
|
|
@@ -63,7 +63,7 @@ class App
|
|
|
63
63
|
end
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
-
desc '
|
|
66
|
+
desc '运行ios demo工程'
|
|
67
67
|
arg_name 'Describe arguments to add here'
|
|
68
68
|
command :run_ios do |c|
|
|
69
69
|
c.action do |global_options,options,args|
|
|
@@ -71,7 +71,7 @@ class App
|
|
|
71
71
|
end
|
|
72
72
|
end
|
|
73
73
|
|
|
74
|
-
desc '
|
|
74
|
+
desc '运行android demo工程'
|
|
75
75
|
arg_name 'Describe arguments to add here'
|
|
76
76
|
command :run_android do |c|
|
|
77
77
|
c.action do |global_options,options,args|
|
|
@@ -79,7 +79,7 @@ class App
|
|
|
79
79
|
end
|
|
80
80
|
end
|
|
81
81
|
|
|
82
|
-
desc '
|
|
82
|
+
desc '链接到手机'
|
|
83
83
|
arg_name 'Describe arguments to add here'
|
|
84
84
|
command :attach do |c|
|
|
85
85
|
c.action do |global_options,options,args|
|
|
@@ -87,7 +87,7 @@ class App
|
|
|
87
87
|
end
|
|
88
88
|
end
|
|
89
89
|
|
|
90
|
-
desc '
|
|
90
|
+
desc '创建一个flutter package'
|
|
91
91
|
arg_name 'Describe arguments to add here'
|
|
92
92
|
command :create_package do |c|
|
|
93
93
|
c.action do |global_options,options,args|
|
|
@@ -95,7 +95,7 @@ class App
|
|
|
95
95
|
end
|
|
96
96
|
end
|
|
97
97
|
|
|
98
|
-
desc '
|
|
98
|
+
desc 'flutter pub get'
|
|
99
99
|
arg_name 'Describe arguments to add here'
|
|
100
100
|
command :pub_get do |c|
|
|
101
101
|
c.action do |global_options,options,args|
|
|
@@ -103,7 +103,7 @@ class App
|
|
|
103
103
|
end
|
|
104
104
|
end
|
|
105
105
|
|
|
106
|
-
desc '
|
|
106
|
+
desc 'flutter clean'
|
|
107
107
|
arg_name 'Describe arguments to add here'
|
|
108
108
|
command :flutter_clean do |c|
|
|
109
109
|
c.action do |global_options,options,args|
|