@basictech/cli 0.0.12 → 0.0.14
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/bin/basic-cli +0 -0
- package/bin/readme.md +43 -0
- package/index.js +96 -39
- package/package.json +1 -2
- package/readme.md +18 -0
- package/dist/CHANGELOG.md +0 -6
- package/dist/artifacts.json +0 -1
- package/dist/basic-cli_0.0.12_checksums.txt +0 -8
- package/dist/basic-cli_Darwin_arm64.tar.gz +0 -0
- package/dist/basic-cli_Darwin_x86_64.tar.gz +0 -0
- package/dist/basic-cli_Linux_arm64.tar.gz +0 -0
- package/dist/basic-cli_Linux_i386.tar.gz +0 -0
- package/dist/basic-cli_Linux_x86_64.tar.gz +0 -0
- package/dist/basic-cli_Windows_arm64.zip +0 -0
- package/dist/basic-cli_Windows_i386.zip +0 -0
- package/dist/basic-cli_Windows_x86_64.zip +0 -0
- package/dist/basic-cli_darwin_amd64_v1/basic-cli +0 -0
- package/dist/basic-cli_darwin_arm64/basic-cli +0 -0
- package/dist/basic-cli_linux_386/basic-cli +0 -0
- package/dist/basic-cli_linux_amd64_v1/basic-cli +0 -0
- package/dist/basic-cli_linux_arm64/basic-cli +0 -0
- package/dist/basic-cli_windows_386/basic-cli.exe +0 -0
- package/dist/basic-cli_windows_amd64_v1/basic-cli.exe +0 -0
- package/dist/basic-cli_windows_arm64/basic-cli.exe +0 -0
- package/dist/config.yaml +0 -130
- package/dist/metadata.json +0 -1
package/bin/basic-cli
CHANGED
|
Binary file
|
package/bin/readme.md
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Basic CLI
|
|
2
|
+
|
|
3
|
+
A command-line interface for interacting with the Basic API.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
## Available Commands
|
|
8
|
+
|
|
9
|
+
1. **account**
|
|
10
|
+
- Description: Show account information
|
|
11
|
+
- Usage: `basic account`
|
|
12
|
+
|
|
13
|
+
2. **login**
|
|
14
|
+
- Description: Log in to the Basic API
|
|
15
|
+
- Usage: `basic login`
|
|
16
|
+
|
|
17
|
+
3. **logout**
|
|
18
|
+
- Description: Log out of the Basic API
|
|
19
|
+
- Usage: `basic logout`
|
|
20
|
+
|
|
21
|
+
4. **status**
|
|
22
|
+
- Description: Show login statuss
|
|
23
|
+
- Usage: `basic status`
|
|
24
|
+
|
|
25
|
+
5. **projects**
|
|
26
|
+
- Description: Show projects
|
|
27
|
+
- Usage: `basic projects`
|
|
28
|
+
|
|
29
|
+
6. **init**
|
|
30
|
+
- Description: Create a new project
|
|
31
|
+
- Usage: `basic init`
|
|
32
|
+
|
|
33
|
+
7. **help**
|
|
34
|
+
- Description: Show help information
|
|
35
|
+
- Usage: `basic help`
|
|
36
|
+
|
|
37
|
+
## Examples
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
## Notes
|
|
41
|
+
|
|
42
|
+
- Make sure you're logged in using the `login` command before using commands that require authentication.
|
|
43
|
+
- Use the `help` command to see this list of available commands in the CLI.
|
package/index.js
CHANGED
|
@@ -1,50 +1,107 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
const path = require('path');
|
|
3
|
-
const {
|
|
3
|
+
const { execSync } = require('child_process');
|
|
4
4
|
const os = require('os');
|
|
5
5
|
const fs = require('fs');
|
|
6
|
+
const https = require('https');
|
|
6
7
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
8
|
+
const REPO_OWNER = 'basicdb';
|
|
9
|
+
const REPO_NAME = 'basic-cli';
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
const downloadBinary = async (url, dest) => {
|
|
13
|
+
return new Promise((resolve, reject) => {
|
|
14
|
+
const file = fs.createWriteStream(dest);
|
|
15
|
+
|
|
16
|
+
const makeRequest = (url) => {
|
|
17
|
+
https
|
|
18
|
+
.get(url, (response) => {
|
|
19
|
+
if (response.statusCode === 302 && response.headers.location) {
|
|
20
|
+
console.log(`Redirecting to ${response.headers.location}`);
|
|
21
|
+
makeRequest(response.headers.location);
|
|
22
|
+
} else if (response.statusCode === 200) {
|
|
23
|
+
response.pipe(file);
|
|
24
|
+
file.on('finish', () => {
|
|
25
|
+
file.close(() => resolve());
|
|
26
|
+
});
|
|
27
|
+
} else {
|
|
28
|
+
reject(
|
|
29
|
+
new Error(
|
|
30
|
+
`Failed to download binary: ${response.statusCode} - ${response.statusMessage}`
|
|
31
|
+
)
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
})
|
|
35
|
+
.on('error', (err) => {
|
|
36
|
+
fs.unlink(dest, () => reject(err));
|
|
37
|
+
});
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
makeRequest(url);
|
|
41
|
+
});
|
|
42
|
+
};
|
|
27
43
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
44
|
+
const getPackageVersion = () => {
|
|
45
|
+
const packageJsonPath = path.join(__dirname, 'package.json');
|
|
46
|
+
if (!fs.existsSync(packageJsonPath)) {
|
|
47
|
+
throw new Error('package.json not found');
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, 'utf-8'));
|
|
51
|
+
return packageJson.version;
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
const installBinary = async () => {
|
|
55
|
+
const archMap = {
|
|
56
|
+
x64: 'x86_64',
|
|
57
|
+
arm64: 'arm64',
|
|
58
|
+
ia32: 'i386',
|
|
59
|
+
};
|
|
32
60
|
|
|
61
|
+
const platformMap = {
|
|
62
|
+
win32: 'Windows',
|
|
63
|
+
darwin: 'Darwin',
|
|
64
|
+
linux: 'Linux',
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
const arch = archMap[os.arch()] || os.arch();
|
|
68
|
+
const platform = platformMap[os.platform()] || os.platform();
|
|
69
|
+
const version = getPackageVersion();
|
|
70
|
+
if (!arch || !platform) {
|
|
71
|
+
throw new Error(`Unsupported platform/architecture: ${os.platform()}/${os.arch()}`);
|
|
72
|
+
}
|
|
33
73
|
|
|
34
|
-
const
|
|
35
|
-
const fileName =
|
|
36
|
-
const destPath = path.join(__dirname, 'bin', fileName);
|
|
74
|
+
const extension = platform === 'Windows' ? 'zip' : 'tar.gz';
|
|
75
|
+
const fileName = `basic-cli_${platform}_${arch}.${extension}`;
|
|
37
76
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
77
|
+
const destPath = path.join(__dirname, 'bin', `basic-cli${platform === 'Windows' ? '.exe' : ''}`);
|
|
78
|
+
const tempPath = path.join(__dirname, fileName);
|
|
79
|
+
const downloadUrl = `https://github.com/${REPO_OWNER}/${REPO_NAME}/releases/download/v${version}/${fileName}`;
|
|
80
|
+
console.log(`Downloading binary from ${downloadUrl}`);
|
|
81
|
+
await downloadBinary(downloadUrl, tempPath);
|
|
82
|
+
|
|
83
|
+
if (platform === 'Windows') {
|
|
84
|
+
execSync(`tar -xf ${tempPath} -C ${path.dirname(destPath)}`);
|
|
85
|
+
} else {
|
|
86
|
+
execSync(`tar -xzf ${tempPath} -C ${path.dirname(destPath)}`);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
fs.unlinkSync(tempPath);
|
|
90
|
+
|
|
91
|
+
if (platform !== 'Windows') {
|
|
44
92
|
execSync(`chmod +x ${destPath}`);
|
|
45
93
|
}
|
|
46
|
-
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
94
|
+
|
|
95
|
+
console.log(`Installed ${platform} binary to ${destPath}`);
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
const main = async () => {
|
|
99
|
+
try {
|
|
100
|
+
await installBinary();
|
|
101
|
+
} catch (err) {
|
|
102
|
+
console.error('Error:', err.message);
|
|
103
|
+
process.exit(1);
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
main();
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -2,6 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
A command-line interface for interacting with the Basic API.
|
|
4
4
|
|
|
5
|
+
## Docs
|
|
6
|
+
|
|
7
|
+
- https://docs.basic.tech/get-started/cli
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## Installation
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npm i -g @basictech/cli
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
|
|
5
18
|
## Usage
|
|
6
19
|
|
|
7
20
|
## Available Commands
|
|
@@ -41,3 +54,8 @@ A command-line interface for interacting with the Basic API.
|
|
|
41
54
|
|
|
42
55
|
- Make sure you're logged in using the `login` command before using commands that require authentication.
|
|
43
56
|
- Use the `help` command to see this list of available commands in the CLI.
|
|
57
|
+
|
|
58
|
+
Links:
|
|
59
|
+
|
|
60
|
+
- https://www.npmjs.com/package/@basictech/cli
|
|
61
|
+
https://docs.basic.tech/get-started/cli
|
package/dist/CHANGELOG.md
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
## Changelog
|
|
2
|
-
* 56b189d4d8188180cd4ceb59b022c60ccd78e751 add confirmation for pull schema
|
|
3
|
-
* 390f0b1a0dc49c82c8386e3f8d3009a6f7b07c14 cleanup
|
|
4
|
-
* 6be6da1d6f9aec2bbe389bd8985b5de344c1772f fix refresh token bug
|
|
5
|
-
* 599078268a149fb0dfccfe12620ae852ed05a880 schema - check for current version diffs
|
|
6
|
-
* 301b020235498a0627bf51f3d895fd1c4e7c009d version bump v0.0.12
|
package/dist/artifacts.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"name":"metadata.json","path":"dist/metadata.json","internal_type":30,"type":"Metadata"},{"name":"basic-cli","path":"dist/basic-cli_darwin_arm64/basic-cli","goos":"darwin","goarch":"arm64","internal_type":4,"type":"Binary","extra":{"Binary":"basic-cli","Ext":"","ID":"basic-cli"}},{"name":"basic-cli","path":"dist/basic-cli_linux_386/basic-cli","goos":"linux","goarch":"386","internal_type":4,"type":"Binary","extra":{"Binary":"basic-cli","Ext":"","ID":"basic-cli"}},{"name":"basic-cli.exe","path":"dist/basic-cli_windows_386/basic-cli.exe","goos":"windows","goarch":"386","internal_type":4,"type":"Binary","extra":{"Binary":"basic-cli","Ext":".exe","ID":"basic-cli"}},{"name":"basic-cli","path":"dist/basic-cli_linux_arm64/basic-cli","goos":"linux","goarch":"arm64","internal_type":4,"type":"Binary","extra":{"Binary":"basic-cli","Ext":"","ID":"basic-cli"}},{"name":"basic-cli","path":"dist/basic-cli_linux_amd64_v1/basic-cli","goos":"linux","goarch":"amd64","goamd64":"v1","internal_type":4,"type":"Binary","extra":{"Binary":"basic-cli","Ext":"","ID":"basic-cli"}},{"name":"basic-cli.exe","path":"dist/basic-cli_windows_amd64_v1/basic-cli.exe","goos":"windows","goarch":"amd64","goamd64":"v1","internal_type":4,"type":"Binary","extra":{"Binary":"basic-cli","Ext":".exe","ID":"basic-cli"}},{"name":"basic-cli.exe","path":"dist/basic-cli_windows_arm64/basic-cli.exe","goos":"windows","goarch":"arm64","internal_type":4,"type":"Binary","extra":{"Binary":"basic-cli","Ext":".exe","ID":"basic-cli"}},{"name":"basic-cli","path":"dist/basic-cli_darwin_amd64_v1/basic-cli","goos":"darwin","goarch":"amd64","goamd64":"v1","internal_type":4,"type":"Binary","extra":{"Binary":"basic-cli","Ext":"","ID":"basic-cli"}},{"name":"basic-cli_Windows_i386.zip","path":"dist/basic-cli_Windows_i386.zip","goos":"windows","goarch":"386","internal_type":1,"type":"Archive","extra":{"Binaries":["basic-cli.exe"],"Checksum":"sha256:3cbdd0049b2311754205b29ac4dbebf45457dea55d269d32fdb789f74cecc907","Format":"zip","ID":"default","Replaces":null,"WrappedIn":""}},{"name":"basic-cli_Linux_i386.tar.gz","path":"dist/basic-cli_Linux_i386.tar.gz","goos":"linux","goarch":"386","internal_type":1,"type":"Archive","extra":{"Binaries":["basic-cli"],"Checksum":"sha256:f47194f26234e663c11f60d46fe907f610d8def951ca84d569db5aef61020d24","Format":"tar.gz","ID":"default","Replaces":null,"WrappedIn":""}},{"name":"basic-cli_Windows_arm64.zip","path":"dist/basic-cli_Windows_arm64.zip","goos":"windows","goarch":"arm64","internal_type":1,"type":"Archive","extra":{"Binaries":["basic-cli.exe"],"Checksum":"sha256:b491893bc653a1d0b8772ad2552e8a317277ce3bca8c0d12ade6c077d762e7c9","Format":"zip","ID":"default","Replaces":null,"WrappedIn":""}},{"name":"basic-cli_Darwin_arm64.tar.gz","path":"dist/basic-cli_Darwin_arm64.tar.gz","goos":"darwin","goarch":"arm64","internal_type":1,"type":"Archive","extra":{"Binaries":["basic-cli"],"Checksum":"sha256:16220a54f6a295a1c40ce62896439d4359519e8e9769d4f1b9469f8756f38620","Format":"tar.gz","ID":"default","Replaces":null,"WrappedIn":""}},{"name":"basic-cli_Darwin_x86_64.tar.gz","path":"dist/basic-cli_Darwin_x86_64.tar.gz","goos":"darwin","goarch":"amd64","goamd64":"v1","internal_type":1,"type":"Archive","extra":{"Binaries":["basic-cli"],"Checksum":"sha256:62566276a309dc7a6b9bdb70f16ce5d6bf6135ac89c571cce079f7c8ccd85486","Format":"tar.gz","ID":"default","Replaces":null,"WrappedIn":""}},{"name":"basic-cli_Linux_x86_64.tar.gz","path":"dist/basic-cli_Linux_x86_64.tar.gz","goos":"linux","goarch":"amd64","goamd64":"v1","internal_type":1,"type":"Archive","extra":{"Binaries":["basic-cli"],"Checksum":"sha256:977e7080aea4abe47f2818e1d8994dcfd8458858bd1aa7abdef13b2dfcff20b5","Format":"tar.gz","ID":"default","Replaces":null,"WrappedIn":""}},{"name":"basic-cli_Linux_arm64.tar.gz","path":"dist/basic-cli_Linux_arm64.tar.gz","goos":"linux","goarch":"arm64","internal_type":1,"type":"Archive","extra":{"Binaries":["basic-cli"],"Checksum":"sha256:e45dac469f5fdc26605ca20a999596ce56a6322ba5b6e2ab2df88d688ca09baa","Format":"tar.gz","ID":"default","Replaces":null,"WrappedIn":""}},{"name":"basic-cli_Windows_x86_64.zip","path":"dist/basic-cli_Windows_x86_64.zip","goos":"windows","goarch":"amd64","goamd64":"v1","internal_type":1,"type":"Archive","extra":{"Binaries":["basic-cli.exe"],"Checksum":"sha256:c39b1065f16118a85682d2a459be67fe7262d63cca9f590dcae7849050171ed0","Format":"zip","ID":"default","Replaces":null,"WrappedIn":""}},{"name":"basic-cli_0.0.12_checksums.txt","path":"dist/basic-cli_0.0.12_checksums.txt","internal_type":12,"type":"Checksum","extra":{}}]
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
16220a54f6a295a1c40ce62896439d4359519e8e9769d4f1b9469f8756f38620 basic-cli_Darwin_arm64.tar.gz
|
|
2
|
-
62566276a309dc7a6b9bdb70f16ce5d6bf6135ac89c571cce079f7c8ccd85486 basic-cli_Darwin_x86_64.tar.gz
|
|
3
|
-
e45dac469f5fdc26605ca20a999596ce56a6322ba5b6e2ab2df88d688ca09baa basic-cli_Linux_arm64.tar.gz
|
|
4
|
-
f47194f26234e663c11f60d46fe907f610d8def951ca84d569db5aef61020d24 basic-cli_Linux_i386.tar.gz
|
|
5
|
-
977e7080aea4abe47f2818e1d8994dcfd8458858bd1aa7abdef13b2dfcff20b5 basic-cli_Linux_x86_64.tar.gz
|
|
6
|
-
b491893bc653a1d0b8772ad2552e8a317277ce3bca8c0d12ade6c077d762e7c9 basic-cli_Windows_arm64.zip
|
|
7
|
-
3cbdd0049b2311754205b29ac4dbebf45457dea55d269d32fdb789f74cecc907 basic-cli_Windows_i386.zip
|
|
8
|
-
c39b1065f16118a85682d2a459be67fe7262d63cca9f590dcae7849050171ed0 basic-cli_Windows_x86_64.zip
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/config.yaml
DELETED
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
version: 2
|
|
2
|
-
project_name: basic-cli
|
|
3
|
-
release:
|
|
4
|
-
github:
|
|
5
|
-
owner: basicdb
|
|
6
|
-
name: basic-cli
|
|
7
|
-
name_template: '{{.Tag}}'
|
|
8
|
-
builds:
|
|
9
|
-
- id: basic-cli
|
|
10
|
-
goos:
|
|
11
|
-
- linux
|
|
12
|
-
- windows
|
|
13
|
-
- darwin
|
|
14
|
-
goarch:
|
|
15
|
-
- amd64
|
|
16
|
-
- arm64
|
|
17
|
-
- "386"
|
|
18
|
-
goarm:
|
|
19
|
-
- "6"
|
|
20
|
-
gomips:
|
|
21
|
-
- hardfloat
|
|
22
|
-
goamd64:
|
|
23
|
-
- v1
|
|
24
|
-
targets:
|
|
25
|
-
- linux_amd64_v1
|
|
26
|
-
- linux_arm64
|
|
27
|
-
- linux_386
|
|
28
|
-
- windows_amd64_v1
|
|
29
|
-
- windows_arm64
|
|
30
|
-
- windows_386
|
|
31
|
-
- darwin_amd64_v1
|
|
32
|
-
- darwin_arm64
|
|
33
|
-
dir: ./src
|
|
34
|
-
main: .
|
|
35
|
-
binary: basic-cli
|
|
36
|
-
builder: go
|
|
37
|
-
gobinary: go
|
|
38
|
-
command: build
|
|
39
|
-
ldflags:
|
|
40
|
-
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser
|
|
41
|
-
env:
|
|
42
|
-
- CGO_ENABLED=0
|
|
43
|
-
archives:
|
|
44
|
-
- id: default
|
|
45
|
-
name_template: '{{ .ProjectName }}_ {{- title .Os }}_ {{- if eq .Arch "amd64" }}x86_64 {{- else if eq .Arch "386" }}i386 {{- else }}{{ .Arch }}{{ end }} {{- if .Arm }}v{{ .Arm }}{{ end }}'
|
|
46
|
-
format: tar.gz
|
|
47
|
-
format_overrides:
|
|
48
|
-
- goos: windows
|
|
49
|
-
format: zip
|
|
50
|
-
files:
|
|
51
|
-
- src: license*
|
|
52
|
-
- src: LICENSE*
|
|
53
|
-
- src: readme*
|
|
54
|
-
- src: README*
|
|
55
|
-
- src: changelog*
|
|
56
|
-
- src: CHANGELOG*
|
|
57
|
-
snapshot:
|
|
58
|
-
version_template: '{{ .Version }}-SNAPSHOT-{{ .ShortCommit }}'
|
|
59
|
-
checksum:
|
|
60
|
-
name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'
|
|
61
|
-
algorithm: sha256
|
|
62
|
-
changelog:
|
|
63
|
-
filters:
|
|
64
|
-
exclude:
|
|
65
|
-
- '^docs:'
|
|
66
|
-
- '^test:'
|
|
67
|
-
sort: asc
|
|
68
|
-
format: '{{ .SHA }}: {{ .Message }} ({{ with .AuthorUsername }}@{{ . }}{{ else }}{{ .AuthorName }} <{{ .AuthorEmail }}>{{ end }})'
|
|
69
|
-
dist: dist
|
|
70
|
-
env_files:
|
|
71
|
-
github_token: ~/.config/goreleaser/github_token
|
|
72
|
-
gitlab_token: ~/.config/goreleaser/gitlab_token
|
|
73
|
-
gitea_token: ~/.config/goreleaser/gitea_token
|
|
74
|
-
before:
|
|
75
|
-
hooks:
|
|
76
|
-
- go mod tidy
|
|
77
|
-
- go generate ./...
|
|
78
|
-
source:
|
|
79
|
-
name_template: '{{ .ProjectName }}-{{ .Version }}'
|
|
80
|
-
format: tar.gz
|
|
81
|
-
gomod:
|
|
82
|
-
gobinary: go
|
|
83
|
-
announce:
|
|
84
|
-
twitter:
|
|
85
|
-
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
|
|
86
|
-
mastodon:
|
|
87
|
-
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
|
|
88
|
-
server: ""
|
|
89
|
-
reddit:
|
|
90
|
-
title_template: '{{ .ProjectName }} {{ .Tag }} is out!'
|
|
91
|
-
url_template: '{{ .ReleaseURL }}'
|
|
92
|
-
slack:
|
|
93
|
-
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
|
|
94
|
-
username: GoReleaser
|
|
95
|
-
discord:
|
|
96
|
-
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
|
|
97
|
-
author: GoReleaser
|
|
98
|
-
color: "3888754"
|
|
99
|
-
icon_url: https://goreleaser.com/static/avatar.png
|
|
100
|
-
teams:
|
|
101
|
-
title_template: '{{ .ProjectName }} {{ .Tag }} is out!'
|
|
102
|
-
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
|
|
103
|
-
color: '#2D313E'
|
|
104
|
-
icon_url: https://goreleaser.com/static/avatar.png
|
|
105
|
-
smtp:
|
|
106
|
-
subject_template: '{{ .ProjectName }} {{ .Tag }} is out!'
|
|
107
|
-
body_template: 'You can view details from: {{ .ReleaseURL }}'
|
|
108
|
-
mattermost:
|
|
109
|
-
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
|
|
110
|
-
title_template: '{{ .ProjectName }} {{ .Tag }} is out!'
|
|
111
|
-
username: GoReleaser
|
|
112
|
-
linkedin:
|
|
113
|
-
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
|
|
114
|
-
telegram:
|
|
115
|
-
message_template: '{{ mdv2escape .ProjectName }} {{ mdv2escape .Tag }} is out{{ mdv2escape "!" }} Check it out at {{ mdv2escape .ReleaseURL }}'
|
|
116
|
-
parse_mode: MarkdownV2
|
|
117
|
-
webhook:
|
|
118
|
-
message_template: '{ "message": "{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}"}'
|
|
119
|
-
content_type: application/json; charset=utf-8
|
|
120
|
-
opencollective:
|
|
121
|
-
title_template: '{{ .Tag }}'
|
|
122
|
-
message_template: '{{ .ProjectName }} {{ .Tag }} is out!<br/>Check it out at <a href="{{ .ReleaseURL }}">{{ .ReleaseURL }}</a>'
|
|
123
|
-
bluesky:
|
|
124
|
-
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
|
|
125
|
-
git:
|
|
126
|
-
tag_sort: -version:refname
|
|
127
|
-
github_urls:
|
|
128
|
-
download: https://github.com
|
|
129
|
-
gitlab_urls:
|
|
130
|
-
download: https://gitlab.com
|
package/dist/metadata.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"project_name":"basic-cli","tag":"v0.0.12","previous_tag":"v0.0.11","version":"0.0.12","commit":"301b020235498a0627bf51f3d895fd1c4e7c009d","date":"2024-11-19T15:50:05.65747-08:00","runtime":{"goos":"darwin","goarch":"arm64"}}
|