@astralos/cli 0.0.0-stage → 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.
- package/LICENSE +79 -0
- package/README.md +31 -2
- package/dist/astral.js +4584 -0
- package/package.json +36 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Amad Khan
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
Third-party notices
|
|
26
|
+
|
|
27
|
+
dist/astral.js bundles the following packages. Their licenses follow.
|
|
28
|
+
|
|
29
|
+
== commander (https://github.com/tj/commander.js) ==
|
|
30
|
+
|
|
31
|
+
(The MIT License)
|
|
32
|
+
|
|
33
|
+
Copyright (c) 2011 TJ Holowaychuk <tj@vision-media.ca>
|
|
34
|
+
|
|
35
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
36
|
+
a copy of this software and associated documentation files (the
|
|
37
|
+
'Software'), to deal in the Software without restriction, including
|
|
38
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
39
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
40
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
41
|
+
the following conditions:
|
|
42
|
+
|
|
43
|
+
The above copyright notice and this permission notice shall be
|
|
44
|
+
included in all copies or substantial portions of the Software.
|
|
45
|
+
|
|
46
|
+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
|
47
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
48
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
49
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
50
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
51
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
52
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
53
|
+
|
|
54
|
+
== smol-toml (https://github.com/squirrelchat/smol-toml) ==
|
|
55
|
+
|
|
56
|
+
Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
57
|
+
|
|
58
|
+
Redistribution and use in source and binary forms, with or without
|
|
59
|
+
modification, are permitted provided that the following conditions are met:
|
|
60
|
+
|
|
61
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
62
|
+
list of conditions and the following disclaimer.
|
|
63
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
64
|
+
this list of conditions and the following disclaimer in the
|
|
65
|
+
documentation and/or other materials provided with the distribution.
|
|
66
|
+
3. Neither the name of the copyright holder nor the names of its contributors
|
|
67
|
+
may be used to endorse or promote products derived from this software without
|
|
68
|
+
specific prior written permission.
|
|
69
|
+
|
|
70
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
71
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
72
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
73
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
74
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
75
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
76
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
77
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
78
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
79
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,32 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Astral CLI
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Use Astral tools from your terminal or an agent. Requires Node.js 20 or later.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
npm i -g @astralos/cli
|
|
9
|
+
astral login
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Or run without a global install:
|
|
13
|
+
|
|
14
|
+
```sh
|
|
15
|
+
npx @astralos/cli
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Core commands
|
|
19
|
+
|
|
20
|
+
```sh
|
|
21
|
+
astral whoami
|
|
22
|
+
astral workspace list
|
|
23
|
+
astral workspace current
|
|
24
|
+
astral tools list
|
|
25
|
+
astral link
|
|
26
|
+
astral deploy
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
`astral login` uses your browser to approve this terminal. `astral link` connects
|
|
30
|
+
the current folder to a site. `astral deploy` creates a preview by default.
|
|
31
|
+
|
|
32
|
+
Use `astral --help` or `astral <command> --help` for command details.
|