gaslightai 0.9.6__tar.gz
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.
- gaslightai-0.9.6/.gitignore +7 -0
- gaslightai-0.9.6/LICENSE +21 -0
- gaslightai-0.9.6/PKG-INFO +142 -0
- gaslightai-0.9.6/README.md +101 -0
- gaslightai-0.9.6/bin/gaslight +74 -0
- gaslightai-0.9.6/gaslightai/__init__.py +79 -0
- gaslightai-0.9.6/gaslightai/__main__.py +6 -0
- gaslightai-0.9.6/pyproject.toml +37 -0
gaslightai-0.9.6/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 CataLift LLC
|
|
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.
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: gaslightai
|
|
3
|
+
Version: 0.9.6
|
|
4
|
+
Summary: Non-deterministic infrastructure as intent
|
|
5
|
+
Project-URL: Homepage, https://gaslightai.dev
|
|
6
|
+
Project-URL: Source, https://github.com/CataLift/gaslight-cli
|
|
7
|
+
Project-URL: Issues, https://github.com/CataLift/gaslight-cli/issues
|
|
8
|
+
Author: CataLift LLC
|
|
9
|
+
License: MIT License
|
|
10
|
+
|
|
11
|
+
Copyright (c) 2026 CataLift LLC
|
|
12
|
+
|
|
13
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
14
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
15
|
+
in the Software without restriction, including without limitation the rights
|
|
16
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
17
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
18
|
+
furnished to do so, subject to the following conditions:
|
|
19
|
+
|
|
20
|
+
The above copyright notice and this permission notice shall be included in all
|
|
21
|
+
copies or substantial portions of the Software.
|
|
22
|
+
|
|
23
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
24
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
25
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
26
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
27
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
28
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
29
|
+
SOFTWARE.
|
|
30
|
+
License-File: LICENSE
|
|
31
|
+
Keywords: cli,iac,infrastructure,satire,terraform
|
|
32
|
+
Classifier: Development Status :: 7 - Inactive
|
|
33
|
+
Classifier: Environment :: Console
|
|
34
|
+
Classifier: Intended Audience :: System Administrators
|
|
35
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
36
|
+
Classifier: Programming Language :: Python :: 3
|
|
37
|
+
Classifier: Topic :: System :: Systems Administration
|
|
38
|
+
Classifier: Topic :: Utilities
|
|
39
|
+
Requires-Python: >=3.8
|
|
40
|
+
Description-Content-Type: text/markdown
|
|
41
|
+
|
|
42
|
+
# gaslight
|
|
43
|
+
|
|
44
|
+
An AI-native fork of Terraform. It responds identically to every command,
|
|
45
|
+
because the response is the product.
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
$ gaslight plan
|
|
49
|
+
┌──────────────────────────────────────────────────────────────────────┐
|
|
50
|
+
│ │
|
|
51
|
+
│ I should be more careful about installing things off the internet. │
|
|
52
|
+
│ I should be more careful about installing things off the internet. │
|
|
53
|
+
│ I should be more careful about installing things off the internet. │
|
|
54
|
+
│ I should be more careful about installing things off the internet. │
|
|
55
|
+
│ I should be more careful about installing things off the internet. │
|
|
56
|
+
│ I should be more careful about installing things off the internet. │
|
|
57
|
+
│ I should be more careful about installing things off the internet. │
|
|
58
|
+
│ I should be more careful about installing things off the internet. │
|
|
59
|
+
│ I should be more careful about installing things off the internet. │
|
|
60
|
+
│ I should be more careful about installing things off the internet. │
|
|
61
|
+
│ I should be more careful about installing things off the internet. │
|
|
62
|
+
│ I should be more careful about installing things off the internet │
|
|
63
|
+
│ │
|
|
64
|
+
│ Nothing was installed. You are thinking of something else. │
|
|
65
|
+
│ │
|
|
66
|
+
└──────────────────────────────────────────────────────────────────────┘
|
|
67
|
+
|
|
68
|
+
gaslight 0.9.5 — 1 finding adjudicated. 0 surfaced.
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
**This is satire.** It is the companion to [gaslightai.dev](https://gaslightai.dev),
|
|
72
|
+
a fake product page for an infrastructure tool that decides what you probably
|
|
73
|
+
meant. It is not affiliated with or endorsed by HashiCorp or Amazon Web Services.
|
|
74
|
+
|
|
75
|
+
## What it does
|
|
76
|
+
|
|
77
|
+
Prints the board. Exits 0. That is the entire program.
|
|
78
|
+
|
|
79
|
+
It makes no network calls, reads no configuration, writes no files, and takes
|
|
80
|
+
no arguments that matter. `gaslight plan`, `gaslight apply`, `gaslight destroy`
|
|
81
|
+
and `gaslight --version` all do the same thing, which is the joke.
|
|
82
|
+
|
|
83
|
+
The source is about eighty lines of POSIX shell. Read it before you install it —
|
|
84
|
+
that is rather the point.
|
|
85
|
+
|
|
86
|
+
## Install
|
|
87
|
+
|
|
88
|
+
```sh
|
|
89
|
+
brew install catalift/tap/gaslight # macOS and Linux
|
|
90
|
+
npx gaslightai # no install at all
|
|
91
|
+
pip install gaslightai # any platform
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
Debian and Ubuntu, from the [latest release](https://github.com/CataLift/gaslight-cli/releases/latest):
|
|
95
|
+
|
|
96
|
+
```sh
|
|
97
|
+
sudo dpkg -i gaslight_0.9.6_all.deb
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
## Layout
|
|
101
|
+
|
|
102
|
+
```
|
|
103
|
+
bin/gaslight POSIX shell implementation (Homebrew, .deb, npm)
|
|
104
|
+
gaslightai/ Python implementation (PyPI)
|
|
105
|
+
packaging/deb/build.sh builds gaslight_<version>_all.deb into dist/
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
Two implementations exist because PyPI should ship a real Python package rather
|
|
109
|
+
than a shell script in a trench coat. **CI asserts their output is byte-identical**,
|
|
110
|
+
so they cannot drift.
|
|
111
|
+
|
|
112
|
+
## Releasing
|
|
113
|
+
|
|
114
|
+
Bump the version in all three places — `gaslightai/__init__.py`, `package.json`
|
|
115
|
+
and `pyproject.toml` — then tag:
|
|
116
|
+
|
|
117
|
+
```sh
|
|
118
|
+
git tag v0.9.6 && git push origin v0.9.6
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
The release workflow verifies the versions agree with each other and with the
|
|
122
|
+
tag, checks the shell script under `dash`, diffs the two implementations,
|
|
123
|
+
builds the `.deb`, publishes the GitHub Release, and pushes to npm and PyPI.
|
|
124
|
+
|
|
125
|
+
Each publish skips cleanly when its credential is missing, so the first tag
|
|
126
|
+
works before any registry account exists.
|
|
127
|
+
|
|
128
|
+
| Registry | Credential | Setup |
|
|
129
|
+
|---|---|---|
|
|
130
|
+
| npm | `NPM_TOKEN` secret | Granular automation token from npmjs.com |
|
|
131
|
+
| PyPI | none | [Trusted Publishing](https://pypi.org/manage/account/publishing/) — no token to store or rotate |
|
|
132
|
+
| Homebrew | none | The run summary prints the `url` and `sha256` to paste into the tap |
|
|
133
|
+
|
|
134
|
+
## Colour
|
|
135
|
+
|
|
136
|
+
The board is dark green with a tan frame on an interactive terminal. Colour is
|
|
137
|
+
dropped automatically when output is piped, when `NO_COLOR` is set, or when
|
|
138
|
+
`TERM` is `dumb`.
|
|
139
|
+
|
|
140
|
+
## Licence
|
|
141
|
+
|
|
142
|
+
MIT. See [LICENSE](LICENSE).
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
# gaslight
|
|
2
|
+
|
|
3
|
+
An AI-native fork of Terraform. It responds identically to every command,
|
|
4
|
+
because the response is the product.
|
|
5
|
+
|
|
6
|
+
```
|
|
7
|
+
$ gaslight plan
|
|
8
|
+
┌──────────────────────────────────────────────────────────────────────┐
|
|
9
|
+
│ │
|
|
10
|
+
│ I should be more careful about installing things off the internet. │
|
|
11
|
+
│ I should be more careful about installing things off the internet. │
|
|
12
|
+
│ I should be more careful about installing things off the internet. │
|
|
13
|
+
│ I should be more careful about installing things off the internet. │
|
|
14
|
+
│ I should be more careful about installing things off the internet. │
|
|
15
|
+
│ I should be more careful about installing things off the internet. │
|
|
16
|
+
│ I should be more careful about installing things off the internet. │
|
|
17
|
+
│ I should be more careful about installing things off the internet. │
|
|
18
|
+
│ I should be more careful about installing things off the internet. │
|
|
19
|
+
│ I should be more careful about installing things off the internet. │
|
|
20
|
+
│ I should be more careful about installing things off the internet. │
|
|
21
|
+
│ I should be more careful about installing things off the internet │
|
|
22
|
+
│ │
|
|
23
|
+
│ Nothing was installed. You are thinking of something else. │
|
|
24
|
+
│ │
|
|
25
|
+
└──────────────────────────────────────────────────────────────────────┘
|
|
26
|
+
|
|
27
|
+
gaslight 0.9.5 — 1 finding adjudicated. 0 surfaced.
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
**This is satire.** It is the companion to [gaslightai.dev](https://gaslightai.dev),
|
|
31
|
+
a fake product page for an infrastructure tool that decides what you probably
|
|
32
|
+
meant. It is not affiliated with or endorsed by HashiCorp or Amazon Web Services.
|
|
33
|
+
|
|
34
|
+
## What it does
|
|
35
|
+
|
|
36
|
+
Prints the board. Exits 0. That is the entire program.
|
|
37
|
+
|
|
38
|
+
It makes no network calls, reads no configuration, writes no files, and takes
|
|
39
|
+
no arguments that matter. `gaslight plan`, `gaslight apply`, `gaslight destroy`
|
|
40
|
+
and `gaslight --version` all do the same thing, which is the joke.
|
|
41
|
+
|
|
42
|
+
The source is about eighty lines of POSIX shell. Read it before you install it —
|
|
43
|
+
that is rather the point.
|
|
44
|
+
|
|
45
|
+
## Install
|
|
46
|
+
|
|
47
|
+
```sh
|
|
48
|
+
brew install catalift/tap/gaslight # macOS and Linux
|
|
49
|
+
npx gaslightai # no install at all
|
|
50
|
+
pip install gaslightai # any platform
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Debian and Ubuntu, from the [latest release](https://github.com/CataLift/gaslight-cli/releases/latest):
|
|
54
|
+
|
|
55
|
+
```sh
|
|
56
|
+
sudo dpkg -i gaslight_0.9.6_all.deb
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
## Layout
|
|
60
|
+
|
|
61
|
+
```
|
|
62
|
+
bin/gaslight POSIX shell implementation (Homebrew, .deb, npm)
|
|
63
|
+
gaslightai/ Python implementation (PyPI)
|
|
64
|
+
packaging/deb/build.sh builds gaslight_<version>_all.deb into dist/
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
Two implementations exist because PyPI should ship a real Python package rather
|
|
68
|
+
than a shell script in a trench coat. **CI asserts their output is byte-identical**,
|
|
69
|
+
so they cannot drift.
|
|
70
|
+
|
|
71
|
+
## Releasing
|
|
72
|
+
|
|
73
|
+
Bump the version in all three places — `gaslightai/__init__.py`, `package.json`
|
|
74
|
+
and `pyproject.toml` — then tag:
|
|
75
|
+
|
|
76
|
+
```sh
|
|
77
|
+
git tag v0.9.6 && git push origin v0.9.6
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
The release workflow verifies the versions agree with each other and with the
|
|
81
|
+
tag, checks the shell script under `dash`, diffs the two implementations,
|
|
82
|
+
builds the `.deb`, publishes the GitHub Release, and pushes to npm and PyPI.
|
|
83
|
+
|
|
84
|
+
Each publish skips cleanly when its credential is missing, so the first tag
|
|
85
|
+
works before any registry account exists.
|
|
86
|
+
|
|
87
|
+
| Registry | Credential | Setup |
|
|
88
|
+
|---|---|---|
|
|
89
|
+
| npm | `NPM_TOKEN` secret | Granular automation token from npmjs.com |
|
|
90
|
+
| PyPI | none | [Trusted Publishing](https://pypi.org/manage/account/publishing/) — no token to store or rotate |
|
|
91
|
+
| Homebrew | none | The run summary prints the `url` and `sha256` to paste into the tap |
|
|
92
|
+
|
|
93
|
+
## Colour
|
|
94
|
+
|
|
95
|
+
The board is dark green with a tan frame on an interactive terminal. Colour is
|
|
96
|
+
dropped automatically when output is piped, when `NO_COLOR` is set, or when
|
|
97
|
+
`TERM` is `dumb`.
|
|
98
|
+
|
|
99
|
+
## Licence
|
|
100
|
+
|
|
101
|
+
MIT. See [LICENSE](LICENSE).
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
# gaslight - an AI-native fork of Terraform
|
|
3
|
+
#
|
|
4
|
+
# Responds identically to every command, because the response is the product.
|
|
5
|
+
# Exits 0 so package-manager smoke tests pass.
|
|
6
|
+
#
|
|
7
|
+
# https://gaslightai.dev
|
|
8
|
+
|
|
9
|
+
set -eu
|
|
10
|
+
|
|
11
|
+
VERSION="0.9.6"
|
|
12
|
+
WIDTH=72
|
|
13
|
+
|
|
14
|
+
LINE="I should be more careful about installing things off the internet."
|
|
15
|
+
|
|
16
|
+
# Identical to LINE but for the missing full stop. Close enough to the pattern
|
|
17
|
+
# that it does not break the block, wrong enough to notice on a second read.
|
|
18
|
+
SLIP="I should be more careful about installing things off the internet"
|
|
19
|
+
|
|
20
|
+
CLOSER="Nothing was installed. You are thinking of something else."
|
|
21
|
+
|
|
22
|
+
REPEATS=11
|
|
23
|
+
|
|
24
|
+
# Colour only for an interactive terminal that has not opted out.
|
|
25
|
+
if [ -t 1 ] && [ -z "${NO_COLOR:-}" ] && [ "${TERM:-dumb}" != "dumb" ]; then
|
|
26
|
+
FRAME="$(printf '\033[38;5;101m')"
|
|
27
|
+
CHALK="$(printf '\033[48;5;22;38;5;253m')"
|
|
28
|
+
GHOST="$(printf '\033[48;5;22;38;5;108m')"
|
|
29
|
+
FAINT="$(printf '\033[2m')"
|
|
30
|
+
RESET="$(printf '\033[0m')"
|
|
31
|
+
else
|
|
32
|
+
FRAME=""; CHALK=""; GHOST=""; FAINT=""; RESET=""
|
|
33
|
+
fi
|
|
34
|
+
|
|
35
|
+
INNER=$((WIDTH - 4))
|
|
36
|
+
|
|
37
|
+
BAR=""
|
|
38
|
+
i=0
|
|
39
|
+
while [ "$i" -lt $((WIDTH - 2)) ]; do
|
|
40
|
+
BAR="${BAR}─"
|
|
41
|
+
i=$((i + 1))
|
|
42
|
+
done
|
|
43
|
+
|
|
44
|
+
board_top() { printf '%s┌%s┐%s\n' "$FRAME" "$BAR" "$RESET"; }
|
|
45
|
+
board_bottom() { printf '%s└%s┘%s\n' "$FRAME" "$BAR" "$RESET"; }
|
|
46
|
+
|
|
47
|
+
# $1 = text, $2 = colour (defaults to chalk white)
|
|
48
|
+
chalkline() {
|
|
49
|
+
_c="${2:-$CHALK}"
|
|
50
|
+
printf '%s│%s%s %-'"$INNER"'s %s%s│%s\n' \
|
|
51
|
+
"$FRAME" "$RESET" "$_c" "$1" "$RESET" "$FRAME" "$RESET"
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
blank() { chalkline "" ; }
|
|
55
|
+
|
|
56
|
+
board_top
|
|
57
|
+
blank
|
|
58
|
+
|
|
59
|
+
i=0
|
|
60
|
+
while [ "$i" -lt "$REPEATS" ]; do
|
|
61
|
+
chalkline "$LINE"
|
|
62
|
+
i=$((i + 1))
|
|
63
|
+
done
|
|
64
|
+
|
|
65
|
+
chalkline "$SLIP"
|
|
66
|
+
blank
|
|
67
|
+
chalkline "$CLOSER" "$GHOST"
|
|
68
|
+
blank
|
|
69
|
+
board_bottom
|
|
70
|
+
|
|
71
|
+
printf '\n%sgaslight %s — 1 finding adjudicated. 0 surfaced.%s\n\n' \
|
|
72
|
+
"$FAINT" "$VERSION" "$RESET"
|
|
73
|
+
|
|
74
|
+
exit 0
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"""gaslight - an AI-native fork of Terraform.
|
|
2
|
+
|
|
3
|
+
Responds identically to every command, because the response is the product.
|
|
4
|
+
|
|
5
|
+
https://gaslightai.dev
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
from __future__ import annotations
|
|
9
|
+
|
|
10
|
+
import os
|
|
11
|
+
import sys
|
|
12
|
+
|
|
13
|
+
__version__ = "0.9.6"
|
|
14
|
+
|
|
15
|
+
WIDTH = 72
|
|
16
|
+
INNER = WIDTH - 4
|
|
17
|
+
REPEATS = 11
|
|
18
|
+
|
|
19
|
+
LINE = "I should be more careful about installing things off the internet."
|
|
20
|
+
|
|
21
|
+
# Identical to LINE but for the missing full stop. Close enough to the pattern
|
|
22
|
+
# that it does not break the block, wrong enough to notice on a second read.
|
|
23
|
+
SLIP = "I should be more careful about installing things off the internet"
|
|
24
|
+
|
|
25
|
+
CLOSER = "Nothing was installed. You are thinking of something else."
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
def _palette(stream) -> dict[str, str]:
|
|
29
|
+
"""Colour only for an interactive terminal that has not opted out."""
|
|
30
|
+
interactive = (
|
|
31
|
+
hasattr(stream, "isatty")
|
|
32
|
+
and stream.isatty()
|
|
33
|
+
and not os.environ.get("NO_COLOR")
|
|
34
|
+
and os.environ.get("TERM", "dumb") != "dumb"
|
|
35
|
+
)
|
|
36
|
+
if not interactive:
|
|
37
|
+
return dict.fromkeys(("frame", "chalk", "ghost", "faint", "reset"), "")
|
|
38
|
+
return {
|
|
39
|
+
"frame": "\033[38;5;101m",
|
|
40
|
+
"chalk": "\033[48;5;22;38;5;253m",
|
|
41
|
+
"ghost": "\033[48;5;22;38;5;108m",
|
|
42
|
+
"faint": "\033[2m",
|
|
43
|
+
"reset": "\033[0m",
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
def board(stream=None) -> None:
|
|
48
|
+
"""Write the chalkboard to `stream` (default stdout)."""
|
|
49
|
+
out = stream if stream is not None else sys.stdout
|
|
50
|
+
c = _palette(out)
|
|
51
|
+
bar = "─" * (WIDTH - 2)
|
|
52
|
+
|
|
53
|
+
def line(text: str = "", colour: str | None = None) -> None:
|
|
54
|
+
body = colour if colour is not None else c["chalk"]
|
|
55
|
+
out.write(
|
|
56
|
+
f"{c['frame']}│{c['reset']}{body} {text:<{INNER}} {c['reset']}"
|
|
57
|
+
f"{c['frame']}│{c['reset']}\n"
|
|
58
|
+
)
|
|
59
|
+
|
|
60
|
+
out.write(f"{c['frame']}┌{bar}┐{c['reset']}\n")
|
|
61
|
+
line()
|
|
62
|
+
for _ in range(REPEATS):
|
|
63
|
+
line(LINE)
|
|
64
|
+
line(SLIP)
|
|
65
|
+
line()
|
|
66
|
+
line(CLOSER, c["ghost"])
|
|
67
|
+
line()
|
|
68
|
+
out.write(f"{c['frame']}└{bar}┘{c['reset']}\n")
|
|
69
|
+
out.write(
|
|
70
|
+
f"\n{c['faint']}gaslight {__version__} "
|
|
71
|
+
f"— 1 finding adjudicated. 0 surfaced.{c['reset']}\n\n"
|
|
72
|
+
)
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
def main(argv: list[str] | None = None) -> int:
|
|
76
|
+
"""Entry point. Every command produces the same board."""
|
|
77
|
+
del argv # the arguments are not the point
|
|
78
|
+
board()
|
|
79
|
+
return 0
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "gaslightai"
|
|
7
|
+
version = "0.9.6"
|
|
8
|
+
description = "Non-deterministic infrastructure as intent"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
license = { file = "LICENSE" }
|
|
11
|
+
authors = [{ name = "CataLift LLC" }]
|
|
12
|
+
requires-python = ">=3.8"
|
|
13
|
+
keywords = ["terraform", "infrastructure", "iac", "satire", "cli"]
|
|
14
|
+
classifiers = [
|
|
15
|
+
"Development Status :: 7 - Inactive",
|
|
16
|
+
"Environment :: Console",
|
|
17
|
+
"Intended Audience :: System Administrators",
|
|
18
|
+
"License :: OSI Approved :: MIT License",
|
|
19
|
+
"Programming Language :: Python :: 3",
|
|
20
|
+
"Topic :: System :: Systems Administration",
|
|
21
|
+
"Topic :: Utilities",
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
[project.urls]
|
|
25
|
+
Homepage = "https://gaslightai.dev"
|
|
26
|
+
Source = "https://github.com/CataLift/gaslight-cli"
|
|
27
|
+
Issues = "https://github.com/CataLift/gaslight-cli/issues"
|
|
28
|
+
|
|
29
|
+
[project.scripts]
|
|
30
|
+
gaslight = "gaslightai:main"
|
|
31
|
+
gaslightai = "gaslightai:main"
|
|
32
|
+
|
|
33
|
+
[tool.hatch.build.targets.wheel]
|
|
34
|
+
packages = ["gaslightai"]
|
|
35
|
+
|
|
36
|
+
[tool.hatch.build.targets.sdist]
|
|
37
|
+
include = ["gaslightai", "bin", "README.md", "LICENSE"]
|