Skip to content

Commit 2accbcd

Browse files
committed
refactor
1 parent a8f4d94 commit 2accbcd

File tree

10 files changed

+12
-13
lines changed

10 files changed

+12
-13
lines changed

.goreleaser.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ brews:
4646
email: adeboyed93@gmail.com
4747

4848
scoop:
49-
url_template: "https://github.com/GitsecureHQ/gitsecure/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
49+
url_template: "https://github.com/GitsecureHQ/cli/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
5050
bucket:
5151
owner: GitsecureHQ
5252
name: scoop-gitsecure

npm-install/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const CONFIG = {
2424
*
2525
* @type {string}
2626
*/
27-
url: "https://github.com/GitsecureHQ/gitsecure/releases/download/v{{version}}/{{bin_name}}_v{{version}}_{{triple}}.tar.gz",
27+
url: "https://github.com/GitsecureHQ/cli/releases/download/v{{version}}/{{bin_name}}_v{{version}}_{{triple}}.tar.gz",
2828
};
2929

3030

npm-install/getReleaseInfo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ async function getReleaseInfo() {
4848
const { platform, arch } = getSystemInfo();
4949
const packageJson = await fs.readFile("package.json").then(JSON.parse);
5050
let version = packageJson.version;
51-
const url = `https://github.com/GitsecureHQ/gitsecure/releases/download/v${version}/gitsecure_${platform}_${arch}.tar.gz`;
51+
const url = `https://github.com/GitsecureHQ/cli/releases/download/v${version}/cli_${platform}_${arch}.tar.gz`;
5252
const name = "gitsecure";
5353
return { url, name };
5454
}

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gitsecure/cli",
3-
"version": "0.0.4",
3+
"version": "0.0.5",
44
"description": "Modern SecretOps infrastructure for developers and teams.",
55
"main": "index.js",
66
"type": "module",
@@ -12,7 +12,7 @@
1212
},
1313
"repository": {
1414
"type": "git",
15-
"url": "git+https://github.com/GitsecureHQ/gitsecure.git"
15+
"url": "git+https://github.com/GitsecureHQ/cli.git"
1616
},
1717
"keywords": [
1818
"SecretOps",
@@ -21,9 +21,9 @@
2121
"author": "Daniel Adeboye",
2222
"license": "MIT",
2323
"bugs": {
24-
"url": "https://github.com/GitsecureHQ/gitsecure/issues"
24+
"url": "https://github.com/GitsecureHQ/cli/issues"
2525
},
26-
"homepage": "https://github.com/GitsecureHQ/gitsecure#readme",
26+
"homepage": "https://github.com/GitsecureHQ/cli#readme",
2727
"devDependencies": {},
2828
"dependencies": {
2929
"node-fetch": "^3.1.0",

pkg/cmd/init.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818

1919
// initCmd represents the init command
2020
var initCmd = &cobra.Command{
21-
Example: "gs init",
21+
Example: "gitsecure init",
2222
Use: "init",
2323
Short: "Used to initialize your project with Gitsecure",
2424
Aliases: []string{"i"},

pkg/cmd/login.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ type LoginResponse struct {
2828
}
2929

3030
var loginCmd = &cobra.Command{
31-
Example: "gs login",
31+
Example: "gitsecure login",
3232
Use: "login",
3333
Short: "Login your gitsecure account",
3434
Run: func(cmd *cobra.Command, args []string) {

pkg/cmd/logout.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212

1313
// logoutCmd represents the logout command
1414
var logoutCmd = &cobra.Command{
15-
Example: "gs logout",
15+
Example: "gitsecure logout",
1616
Use: "logout",
1717
Short: "Logout your gitsecure account",
1818
Run: func(cmd *cobra.Command, args []string) {

pkg/cmd/root.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import (
1414
var rootCmd = &cobra.Command{
1515
Use: "gitsecure",
1616
Short: "Modern SecretOps Infrastructure For Developers And Teams.",
17-
Aliases: []string{"gs"},
1817
CompletionOptions: cobra.CompletionOptions{HiddenDefaultCmd: true},
1918
Version: utils.CLI_VERSION,
2019
}

pkg/cmd/run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424

2525
// runCmd represents the run command
2626
var runCmd = &cobra.Command{
27-
Example: `gs run -c "yarn dev"`,
27+
Example: `gitsecure run -c "yarn dev"`,
2828
Use: "run",
2929
Short: "Used to inject environment secrets into your application process",
3030
Aliases: []string{"r"},

pkg/cmd/whoami.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ type User struct {
2525
}
2626

2727
var whoamiCmd = &cobra.Command{
28-
Example: "gs whoami",
28+
Example: "gitsecure whoami",
2929
Use: "whoami",
3030
Short: "Display the currently logged-in user",
3131
Aliases: []string{"me"},

0 commit comments

Comments
 (0)