You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The install command has a rather interesting method of getting the proper package. Because you can have packages with the same name by different authors, Ether will run a search based on the argument you pass in and get the most stared result. If the name contains a slash (`/`), then the URL will created directly without a search like this:
88
+
89
+
https://github.com/<NAME>.git
90
+
91
+
Note that this is case insensitive.
92
+
93
+
### Fix Install
94
+
95
+
Fixes the install process when an error occurs during `install`
96
+
97
+
ether fix-install
98
+
99
+
Example Output:
100
+
101
+
```
102
+
This may take some time...
103
+
Fixing Installation [Done]
104
+
```
105
+
106
+
### Remove
107
+
108
+
Removes the package and its dependencies from the project:
109
+
110
+
ether remove <name>
111
+
112
+
Example output:
113
+
114
+
```
115
+
Removing Dependency [Done]
116
+
📦 2 packages removed
117
+
```
118
+
119
+
### Update
120
+
121
+
Updates the packages. This only needs to be run if packages are manually added.
122
+
123
+
ether update
124
+
125
+
Example output:
126
+
127
+
Updating Packages [Done]
128
+
129
+
You can pass in the `--self` flag to update Ether to the latest version:
130
+
131
+
ether update --self
132
+
133
+
Example output:
134
+
135
+
Updating Ether [Done]
136
+
137
+
### Template
138
+
139
+
Saves the current state of the project as a template that can be used later when creating a new project.
140
+
141
+
ether template <name>
142
+
143
+
Example output:
144
+
145
+
Saving Template [Done]
146
+
147
+
### New
148
+
149
+
Creates a project. It can be a Swift package, a Swift executable, or a project from a previously saved template.
150
+
151
+
ether new <name>
152
+
153
+
Example output:
154
+
155
+
Generating Project [Done]
156
+
157
+
### Version Latest
158
+
159
+
Sets all packages to their latest versions:
160
+
161
+
ether version latest
162
+
163
+
Example output:
164
+
165
+
Updating Package Versions [Done]
166
+
167
+
### Version All
168
+
169
+
Outputs the name of each package installed and its version
170
+
171
+
ether version all
172
+
173
+
Example output:
174
+
175
+
```
176
+
Getting Package Data [Done]
177
+
Bits: v1.0.0
178
+
Console: v2.1.0
179
+
Core: v2.0.2
180
+
Debugging: v1.0.0
181
+
JSON: v2.0.2
182
+
Node: v2.0.4
183
+
```
184
+
185
+
## How do I make my package available?
35
186
36
187
If they are on GitHub, they already are! Ether uses GitHub's GraphQL API to fetch projects with a `Package.swift` file in the project root.
37
188
38
-
###What license is it under?
189
+
## What license is it under?
39
190
40
-
Ether is under the MIT license.
191
+
Ether is under the [MIT license](https://github.com/Ether-CLI/Ether/blob/master/LICENSE.md).
0 commit comments