@manan_joshi/atelier 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.
- package/LICENSE +21 -0
- package/README.md +44 -1
- package/dist/index.js +1 -1
- package/package.json +4 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Manan Joshi
|
|
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.
|
package/README.md
CHANGED
|
@@ -2,10 +2,53 @@
|
|
|
2
2
|
|
|
3
3
|
Atelier is a config management CLI for developer machines.
|
|
4
4
|
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
Atelier currently runs on Bun.
|
|
8
|
+
|
|
5
9
|
```bash
|
|
6
10
|
npm install -g @manan_joshi/atelier
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
or:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
bun install -g @manan_joshi/atelier
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Then run:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
7
22
|
atl login
|
|
8
23
|
atl scan
|
|
9
24
|
```
|
|
10
25
|
|
|
11
|
-
|
|
26
|
+
## Common commands
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
atl login
|
|
30
|
+
atl whoami
|
|
31
|
+
atl scan
|
|
32
|
+
atl save <id-or-path>
|
|
33
|
+
atl saved list
|
|
34
|
+
atl saved show <stable-id>
|
|
35
|
+
atl logout
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## API
|
|
39
|
+
|
|
40
|
+
The CLI defaults to the hosted Atelier API:
|
|
41
|
+
|
|
42
|
+
```text
|
|
43
|
+
https://atelier.mananjoshi.me/api
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
For local development, override it with:
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
ATELIER_API_URL=http://127.0.0.1:8787 atl login
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Security
|
|
53
|
+
|
|
54
|
+
Saved config contents are encrypted locally before upload. Atelier stores encrypted snapshots and metadata, not plaintext config contents.
|
package/dist/index.js
CHANGED
|
@@ -1911,7 +1911,7 @@ var decisionsPath = join4(stateDir, "decisions.json");
|
|
|
1911
1911
|
var decisionStatuses = new Set(["undecided", "candidate", "shareable", "machine-specific", "private", "ignored"]);
|
|
1912
1912
|
var pipedInputLines;
|
|
1913
1913
|
var program = new Command;
|
|
1914
|
-
program.name("atl").description("Atelier config inventory cockpit").version("0.1.
|
|
1914
|
+
program.name("atl").description("Atelier config inventory cockpit").version("0.1.1");
|
|
1915
1915
|
program.command("login").description("Login to Atelier with GitHub device auth").option("--api-url <url>", "Atelier API URL", getConfiguredApiUrl()).action(async (options) => {
|
|
1916
1916
|
const result = await loginWithGitHub({
|
|
1917
1917
|
apiUrl: options.apiUrl,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@manan_joshi/atelier",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Atelier config management CLI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
},
|
|
9
9
|
"files": [
|
|
10
10
|
"dist",
|
|
11
|
-
"README.md"
|
|
11
|
+
"README.md",
|
|
12
|
+
"LICENSE"
|
|
12
13
|
],
|
|
13
14
|
"scripts": {
|
|
14
15
|
"clean": "rm -rf dist",
|
|
@@ -30,5 +31,5 @@
|
|
|
30
31
|
"cli"
|
|
31
32
|
],
|
|
32
33
|
"author": "Manan Joshi",
|
|
33
|
-
"license": "
|
|
34
|
+
"license": "MIT"
|
|
34
35
|
}
|