@infrawrench/cli 0.0.0-stage → 2.5.0
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 +104 -0
- package/README.md +38 -2
- package/THIRD_PARTY_LICENSES.txt +2229 -0
- package/infrawrench.cjs +1341 -0
- package/package.json +31 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
Business Source License 1.1
|
|
2
|
+
|
|
3
|
+
Parameters
|
|
4
|
+
|
|
5
|
+
Licensor: Infrawrench Services, Inc.
|
|
6
|
+
Licensed Work: Infrawrench
|
|
7
|
+
The Licensed Work is (c) 2026 Infrawrench Services, Inc.
|
|
8
|
+
|
|
9
|
+
Additional Use Grant: You may make use of the Licensed Work for non-production
|
|
10
|
+
purposes, including development, testing, evaluation,
|
|
11
|
+
code review, auditing, and personal experimentation.
|
|
12
|
+
|
|
13
|
+
You may NOT use the Licensed Work for any Production Use.
|
|
14
|
+
"Production Use" means running the Licensed Work in a
|
|
15
|
+
production environment, providing the functionality of
|
|
16
|
+
the Licensed Work as a service to third parties, or any
|
|
17
|
+
commercial use outside of development and testing.
|
|
18
|
+
|
|
19
|
+
Change Date: 2030-05-09
|
|
20
|
+
|
|
21
|
+
Change License: Apache License, Version 2.0
|
|
22
|
+
|
|
23
|
+
For information about alternative licensing arrangements for the Licensed Work,
|
|
24
|
+
please contact: astrid@infrawrench.com
|
|
25
|
+
|
|
26
|
+
Notice
|
|
27
|
+
|
|
28
|
+
The Business Source License (this document, or the "License") is not an Open
|
|
29
|
+
Source license. However, the Licensed Work will eventually be made available
|
|
30
|
+
under an Open Source License, as stated in this License.
|
|
31
|
+
|
|
32
|
+
License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved.
|
|
33
|
+
"Business Source License" is a trademark of MariaDB Corporation Ab.
|
|
34
|
+
|
|
35
|
+
-----------------------------------------------------------------------------
|
|
36
|
+
|
|
37
|
+
Business Source License 1.1
|
|
38
|
+
|
|
39
|
+
Terms
|
|
40
|
+
|
|
41
|
+
The Licensor hereby grants you the right to copy, modify, create derivative
|
|
42
|
+
works, redistribute, and make non-production use of the Licensed Work. The
|
|
43
|
+
Licensor may make an Additional Use Grant, above, permitting limited
|
|
44
|
+
production use.
|
|
45
|
+
|
|
46
|
+
Effective on the Change Date, or the fourth anniversary of the first publicly
|
|
47
|
+
available distribution of a specific version of the Licensed Work under this
|
|
48
|
+
License, whichever comes first, the Licensor hereby grants you rights under
|
|
49
|
+
the terms of the Change License, and the rights granted in the paragraph
|
|
50
|
+
above terminate.
|
|
51
|
+
|
|
52
|
+
If your use of the Licensed Work does not comply with the requirements
|
|
53
|
+
currently in effect as described in this License, you must purchase a
|
|
54
|
+
commercial license from the Licensor, its affiliated entities, or authorized
|
|
55
|
+
resellers, or you must refrain from using the Licensed Work.
|
|
56
|
+
|
|
57
|
+
All copies of the original and modified Licensed Work, and derivative works
|
|
58
|
+
of the Licensed Work, are subject to this License. This License applies
|
|
59
|
+
separately for each version of the Licensed Work and the Change Date may vary
|
|
60
|
+
for each version of the Licensed Work released by Licensor.
|
|
61
|
+
|
|
62
|
+
You must conspicuously display this License on each original or modified copy
|
|
63
|
+
of the Licensed Work. If you receive the Licensed Work in original or
|
|
64
|
+
modified form from a third party, the terms and conditions set forth in this
|
|
65
|
+
License apply to your use of that work.
|
|
66
|
+
|
|
67
|
+
Any use of the Licensed Work in violation of this License will automatically
|
|
68
|
+
terminate your rights under this License for the current and all other
|
|
69
|
+
versions of the Licensed Work.
|
|
70
|
+
|
|
71
|
+
This License does not grant you any right in any trademark or logo of
|
|
72
|
+
Licensor or its affiliates (provided that you may use a trademark or logo of
|
|
73
|
+
Licensor as expressly required by this License).
|
|
74
|
+
|
|
75
|
+
TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
|
|
76
|
+
AN "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
|
|
77
|
+
EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
|
|
78
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
|
|
79
|
+
TITLE.
|
|
80
|
+
|
|
81
|
+
Licensor hereby grants you permission to use this License's text to license
|
|
82
|
+
your works, and to refer to it using the trademark "Business Source License",
|
|
83
|
+
as long as you comply with the Covenants of Licensor below.
|
|
84
|
+
|
|
85
|
+
Covenants of Licensor
|
|
86
|
+
|
|
87
|
+
In consideration of the right to use this License's text and the "Business
|
|
88
|
+
Source License" name and trademark, Licensor covenants to you, and to all
|
|
89
|
+
other recipients of the licensed work to be provided by Licensor:
|
|
90
|
+
|
|
91
|
+
1. To specify as the Change License the GPL Version 2.0 or any later version,
|
|
92
|
+
or a license that is compatible with GPL Version 2.0 or a later version,
|
|
93
|
+
where "compatible" means that software provided under the Change License can
|
|
94
|
+
be included in a program with software provided under GPL Version 2.0 or a
|
|
95
|
+
later version. Licensor may specify additional Change Licenses without
|
|
96
|
+
limitation.
|
|
97
|
+
|
|
98
|
+
2. To either: (a) specify an additional grant of rights to use that does not
|
|
99
|
+
impose any additional restriction on the right granted in this License, as
|
|
100
|
+
the Additional Use Grant; or (b) insert the text "None".
|
|
101
|
+
|
|
102
|
+
3. To specify a Change Date.
|
|
103
|
+
|
|
104
|
+
4. Not to modify this License in any other way.
|
package/README.md
CHANGED
|
@@ -1,3 +1,39 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @infrawrench/cli
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The `infrawrench` command without the desktop app. It talks to Infrawrench
|
|
4
|
+
Cloud, so you can read costs, resources, dashboards, alerts and environment
|
|
5
|
+
files from a terminal, a CI job or a server.
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
npm install -g @infrawrench/cli
|
|
9
|
+
infrawrench login
|
|
10
|
+
infrawrench costs
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Or run it once without installing anything:
|
|
14
|
+
|
|
15
|
+
```sh
|
|
16
|
+
npx @infrawrench/cli whoami
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
It needs Node.js 22 or newer and has no dependencies. If you don't want Node,
|
|
20
|
+
the same CLI comes as a single executable and as a Debian package:
|
|
21
|
+
|
|
22
|
+
```sh
|
|
23
|
+
curl -fsSL https://infrawrench.com/cli/install.sh | sh
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
See the [CLI documentation](https://infrawrench.com/docs/features/cli) for
|
|
27
|
+
every command, and `infrawrench help` for the full list.
|
|
28
|
+
|
|
29
|
+
## The standalone CLI and the desktop app
|
|
30
|
+
|
|
31
|
+
This package is the same CLI the desktop app installs as its shell command,
|
|
32
|
+
built to run on its own. It keeps its own sign-in, in
|
|
33
|
+
`~/.config/infrawrench-cli` (`~/Library/Application Support/infrawrench-cli` on
|
|
34
|
+
macOS, `%APPDATA%\infrawrench-cli` on Windows, or `INFRAWRENCH_CONFIG_DIR`).
|
|
35
|
+
Two things need the desktop app: local accounts (`--local`) and `apps`.
|
|
36
|
+
|
|
37
|
+
## License
|
|
38
|
+
|
|
39
|
+
Business Source License 1.1. See `LICENSE`.
|