Skip to content

Commit

Permalink
chore: rename binary to s2
Browse files Browse the repository at this point in the history
  • Loading branch information
infiniteregrets committed Nov 7, 2024
1 parent 7a79b13 commit bdd0f30
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ jobs:
if [ "${{ matrix.os }}" = "windows-latest" ];
then
7z a ../../../$s2-cli-${{ matrix.target }}.zip s2-cli.exe
7z a ../../../s2-${{ matrix.target }}.zip s2.exe
else
tar -czf ../../../$s2-cli-${{ matrix.target }}.tar.gz s2-cli
tar -czf ../../../s2-${{ matrix.target }}.tar.gz s2
fi
- name: upload artifacts
uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "s2-cli"
name = "s2"
version = "0.1.0"
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ pub enum S2ConfigError {

#[error("Failed to load config file")]
#[diagnostic(help(
"Did you run `s2-cli config set`? or use `S2_AUTH_TOKEN` environment variable."
"Did you run `s2 config set`? or use `S2_AUTH_TOKEN` environment variable."
))]
LoadError(#[from] config::ConfigError),

Expand Down
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ const STYLES: styling::Styles = styling::Styles::styled()

const GENERAL_USAGE: &str = color_print::cstr!(
r#"
<dim>$</dim> <bold>s2-cli config set --auth-token ...</bold>
<dim>$</dim> <bold>s2-cli account list-basins --prefix "bar" --start-after "foo" --limit 100</bold>
<dim>$</dim> <bold>s2 config set --auth-token ...</bold>
<dim>$</dim> <bold>s2 account list-basins --prefix "bar" --start-after "foo" --limit 100</bold>
"#
);

Expand Down

0 comments on commit bdd0f30

Please sign in to comment.