21 files changed
+74
-60
LICENSE
+9
-17
@@ -1,21 +1,13 @@
1
-MIT License
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
3
-Copyright (c) 2026 smbCloud
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
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:
7
+ 1. Definitions.
8
12
-The above copyright notice and this permission notice shall be included in all
13
-copies or substantial portions of the Software.
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
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.
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner
README.MD
+2
@@ -17,7 +17,9 @@
17
<a href="https://github.com/smbcloudXYZ/smbcloud-cli/releases">Releases</a>
18
</p>
19
<p align="center">
20
+ <a href="https://crates.io/crates/smbcloud-cli"><img alt="Crates.io" src="https://img.shields.io/crates/v/smbcloud-cli"></a>
21
<a href="https://www.npmjs.com/package/@smbcloud/cli"><img alt="npm" src="https://img.shields.io/npm/v/@smbcloud/cli"></a>
22
+ <a href="https://github.com/smbcloudXYZ/homebrew-tap"><img alt="Homebrew" src="https://img.shields.io/badge/homebrew-tap-orange?logo=homebrew"></a>
23
<a href="https://pypi.org/project/smbcloud-cli/"><img alt="PyPI" src="https://img.shields.io/pypi/v/smbcloud-cli"></a>
24
<a href="https://github.com/smbcloudXYZ/smbcloud-cli/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/github/license/smbcloudXYZ/smbcloud-cli"></a>
25
</p>
crates/cli/Cargo.toml
+1
-1
@@ -6,7 +6,7 @@ authors = ["Seto Elkahfi <hej@setoelkahfi.se>"]
6
description = "smbCloud command line interface."
7
license = "Apache-2.0"
8
repository = "https://github.com/smbcloudXYZ/smbcloud-cli"
9
-documentation = "https://docs.smbcloud.xyz/cli"
9
+documentation = "https://smbcloud.xyz/posts"
10
keywords = ["cli", "cloud", "web2", "web3", "smbcloud"]
11
categories = [
12
"command-line-utilities",
crates/cli/README.md
+30
-19
@@ -1,10 +1,28 @@
1
-# smbcloud-cli
2
-
3
-This is a CLI program to access [smbcloud](https://smbcloud.xyz/).
1
+<!-- LOGO -->
2
+<h1>
3
+<p align="center">
4
+ <img src="https://avatars.githubusercontent.com/u/89791739?s=200&v=4" alt="smbCloud Logo" width="128">
5
+ <br>smbCloud CLI
6
+</h1>
7
+ <p align="center">
8
+ Deploy to the cloud in one command.
9
+ <br />
10
+ <br />
11
+ <a href="https://smbcloud.xyz/">Website</a>
12
+ ·
13
+ <a href="https://smbcloud.xyz/posts">Documentation</a>
14
+ ·
15
+ <a href="https://github.com/smbcloudXYZ/smbcloud-cli/releases">Releases</a>
16
+ </p>
17
+ <p align="center">
18
+ <a href="https://crates.io/crates/smbcloud-cli"><img alt="Crates.io" src="https://img.shields.io/crates/v/smbcloud-cli"></a>
19
+ <a href="https://github.com/smbcloudXYZ/smbcloud-cli/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/github/license/smbcloudXYZ/smbcloud-cli"></a>
20
+ </p>
21
+</p>
22
23
## Installation
24
7
-One can install this program in different ways.
25
+One can install this program in different ways.
26
27
### With Cargo
28
@@ -15,14 +33,14 @@ cargo install smbcloud-cli
33
### Homebrew (MacOS/Linux)
34
35
```bash
18
-brew tap smbcloud/tap
36
+brew tap smbcloudXYZ/tap
37
brew install cli
38
```
39
40
### With NPM
41
24
-```
25
-npm i -g @smbcloud/cli
42
+```bash
43
+npm install -g @smbcloud/cli
44
```
45
46
### With PyPI
@@ -38,7 +56,6 @@ Simply rerun the installation command.
56
## Uninstall
57
58
```bash
41
-
59
# With cargo
60
cargo uninstall smbcloud-cli
61
@@ -46,14 +63,14 @@ cargo uninstall smbcloud-cli
63
npm uninstall -g @smbcloud/cli
64
65
# With Homebrew
49
-brew untap smbcloud/tap
50
-brew uninstall smbcloud/tap/cli
66
+brew uninstall cli
67
+brew untap smbcloudXYZ/tap
68
69
# With pip
70
pip uninstall smbcloud-cli
71
```
72
56
-## Usage:
73
+## Usage
74
75
```bash
76
smb --help
@@ -63,17 +80,11 @@ smb --help
80
81
- Setup your Rust tooling.
82
- Clone the repo.
66
-- Provide the environement variables in the .env.local.
83
+- Provide the environment variables in the .env.local.
84
- Run `cargo run`.
85
86
## Credits
87
88
This repo is inspired by [Sugar](https://github.com/metaplex-foundation/sugar).
89
73
-This repo tries to follow [the 12 factor CLI app](https://medium.com/@jdxcode/12-factor-cli-apps-dd3c227a0e46) principles by Heroku team.
74
-
75
-NPM support guide by [orhun.dev](https://blog.orhun.dev/packaging-rust-for-npm/).
76
-
77
-## Licence
78
-
79
-MIT.
90
+This repo tries to follow [the 12 factor CLI app](https://medium.com/@jdxcode/12-factor-cli-apps-dd3c227a0e46) principles by
crates/smbcloud-auth-py/Cargo.toml
+2
-2
@@ -4,9 +4,9 @@ version = "0.3.34"
4
edition = "2024"
5
authors = ["Seto Elkahfi <hej@setoelkahfi.se>"]
6
description = "Python bindings for the smbCloud Auth SDK."
7
-license = "MIT"
7
+license = "Apache-2.0"
8
repository = "https://github.com/smbcloudXYZ/smbcloud-cli"
9
-documentation = "https://docs.smbcloud.xyz/cli"
9
+documentation = "https://smbcloud.xyz/posts"
10
keywords = ["smbcloud", "auth", "sdk", "python", "pyo3"]
11
categories = ["api-bindings", "authentication", "development-tools"]
12
readme = "README.md"
crates/smbcloud-auth-wasm/Cargo.toml
+1
-1
@@ -6,7 +6,7 @@ authors = ["Seto Elkahfi <hej@setoelkahfi.se>"]
6
description = "Browser bindings for the smbCloud Auth SDK."
7
license = "Apache-2.0"
8
repository = "https://github.com/smbcloudXYZ/smbcloud-cli"
9
-documentation = "https://docs.smbcloud.xyz/cli"
9
+documentation = "https://smbcloud.xyz/posts"
10
keywords = ["cli", "cloud", "web2", "web3", "smbcloud"]
11
categories = [
12
"command-line-utilities",
crates/smbcloud-auth/Cargo.toml
+1
-1
@@ -6,7 +6,7 @@ authors = ["Seto Elkahfi <hej@setoelkahfi.se>"]
6
description = "Cross-platform Auth SDK for the smbCloud platform."
7
license = "Apache-2.0"
8
repository = "https://github.com/smbcloudXYZ/smbcloud-cli"
9
-documentation = "https://docs.smbcloud.xyz/cli"
9
+documentation = "https://smbcloud.xyz/posts"
10
keywords = ["cli", "cloud", "web2", "web3", "smbcloud"]
11
categories = [
12
"command-line-utilities",
crates/smbcloud-gresiq/Cargo.toml
+1
-1
@@ -7,7 +7,7 @@ readme = "README.md"
7
authors = ["Seto Elkahfi <hej@setoelkahfi.se>"]
8
license = "Apache-2.0"
9
repository = "https://github.com/smbcloudXYZ/smbcloud-cli"
10
-documentation = "https://docs.smbcloud.xyz/cli"
10
+documentation = "https://smbcloud.xyz/posts"
11
keywords = ["cli", "cloud", "web2", "web3", "smbcloud"]
12
categories = [
13
"command-line-utilities",
crates/smbcloud-model/Cargo.toml
+1
-1
@@ -6,7 +6,7 @@ authors = ["Seto Elkahfi <hej@setoelkahfi.se>"]
6
description = "Command line tool for deploying NextJS app on the smbCloud platform."
7
license = "Apache-2.0"
8
repository = "https://github.com/smbcloudXYZ/smbcloud-cli"
9
-documentation = "https://docs.smbcloud.xyz/cli"
9
+documentation = "https://smbcloud.xyz/posts"
10
keywords = ["cli", "cloud", "web2", "web3", "smbcloud"]
11
categories = [
12
"command-line-utilities",
crates/smbcloud-network/Cargo.toml
+1
-1
@@ -7,7 +7,7 @@ authors = ["Seto Elkahfi <hej@setoelkahfi.se>"]
7
description = "Command line tool for deploying NextJS app on the smbCloud platform."
8
license = "Apache-2.0"
9
repository = "https://github.com/smbcloudXYZ/smbcloud-cli"
10
-documentation = "https://docs.smbcloud.xyz/cli"
10
+documentation = "https://smbcloud.xyz/posts"
11
keywords = ["cli", "cloud", "web2", "web3", "smbcloud"]
12
categories = [
13
"command-line-utilities",
crates/smbcloud-networking-project/Cargo.toml
+1
-1
@@ -6,7 +6,7 @@ authors = ["Seto Elkahfi <hej@setoelkahfi.se>"]
6
description = "Command line tool for deploying NextJS app on the smbCloud platform."
7
license = "Apache-2.0"
8
repository = "https://github.com/smbcloudXYZ/smbcloud-cli"
9
-documentation = "https://docs.smbcloud.xyz/cli"
9
+documentation = "https://smbcloud.xyz/posts"
10
keywords = ["cli", "cloud", "web2", "web3", "smbcloud"]
11
categories = [
12
"command-line-utilities",
crates/smbcloud-networking/Cargo.toml
+1
-1
@@ -7,7 +7,7 @@ authors = ["Seto Elkahfi <hej@setoelkahfi.se>"]
7
description = "Command line tool for deploying NextJS app on the smbCloud platform."
8
license = "Apache-2.0"
9
repository = "https://github.com/smbcloudXYZ/smbcloud-cli"
10
-documentation = "https://docs.smbcloud.xyz/cli"
10
+documentation = "https://smbcloud.xyz/posts"
11
keywords = ["cli", "cloud", "web2", "web3", "smbcloud"]
12
categories = [
13
"command-line-utilities",
crates/smbcloud-s6n/Cargo.toml
+1
-1
@@ -7,7 +7,7 @@ readme = "README.md"
7
authors = ["Seto Elkahfi <hej@setoelkahfi.se>"]
8
license = "Apache-2.0"
9
repository = "https://github.com/smbcloudXYZ/smbcloud-cli"
10
-documentation = "https://docs.smbcloud.xyz/cli"
10
+documentation = "https://smbcloud.xyz/posts"
11
keywords = ["cli", "cloud", "web2", "web3", "smbcloud"]
12
categories = [
13
"command-line-utilities",
crates/smbcloud-utils/Cargo.toml
+1
-1
@@ -6,7 +6,7 @@ authors = ["Seto Elkahfi <hej@setoelkahfi.se>"]
6
description = "Command line tool for deploying NextJS app on the smbCloud platform."
7
license = "Apache-2.0"
8
repository = "https://github.com/smbcloudXYZ/smbcloud-cli"
9
-documentation = "https://docs.smbcloud.xyz/cli"
9
+documentation = "https://smbcloud.xyz/posts"
10
keywords = ["cli", "cloud", "web2", "web3", "smbcloud"]
11
categories = [
12
"command-line-utilities",
npm/README.md.tmpl
+7
@@ -6,6 +6,13 @@
6
</h1>
7
<p align="center">
8
Deploy to the cloud in one command.
9
+ <br />
10
+ <br />
11
+ <a href="https://smbcloud.xyz/">Website</a>
12
+ ·
13
+ <a href="https://smbcloud.xyz/posts">Documentation</a>
14
+ ·
15
+ <a href="https://github.com/smbcloudXYZ/smbcloud-cli/issues">Issues</a>
16
</p>
17
</p>
18
npm/package-main.json.tmpl
+2
-2
@@ -34,7 +34,7 @@
34
"smb": "lib/index.js"
35
},
36
"description": "A CLI for accessing the smbcloud platform.",
37
- "license": "MIT",
37
+ "license": "Apache-2.0",
38
"scripts": {
39
"typecheck": "tsc --noEmit",
40
"lint": "eslint .",
@@ -56,4 +56,4 @@
56
"@smbcloud/cli-windows-arm64": "${release_version}",
57
"@smbcloud/cli-windows-x64": "${release_version}"
58
}
59
-}
\ No newline at end of file
59
+}
npm/smbcloud-cli/README.md
+2
-2
@@ -10,7 +10,7 @@
10
<br />
11
<a href="https://smbcloud.xyz/">Website</a>
12
·
13
- <a href="https://docs.smbcloud.xyz/cli">Documentation</a>
13
+ <a href="https://smbcloud.xyz/posts">Documentation</a>
14
·
15
<a href="https://github.com/smbcloudXYZ/smbcloud-cli/releases">Releases</a>
16
·
@@ -76,7 +76,7 @@ irm https://raw.githubusercontent.com/smbcloudXYZ/smbcloud-cli/main/install-wind
76
77
## Documentation
78
79
-Full documentation is available at [docs.smbcloud.xyz/cli](https://docs.smbcloud.xyz/cli).
79
+Full documentation is available at [smbcloud.xyz/posts](https://smbcloud.xyz/posts).
80
81
## Platform Support
82
pypi/README.md
+5
-3
@@ -10,15 +10,17 @@
10
<br />
11
<a href="https://smbcloud.xyz/">Website</a>
12
·
13
- <a href="https://docs.smbcloud.xyz/cli">Documentation</a>
13
+ <a href="https://smbcloud.xyz/posts">Documentation</a>
14
·
15
<a href="https://github.com/smbcloudXYZ/smbcloud-cli/releases">Releases</a>
16
·
17
<a href="https://github.com/smbcloudXYZ/smbcloud-cli/issues">Issues</a>
18
</p>
19
<p align="center">
20
- <a href="https://pypi.org/project/smbcloud-cli/"><img alt="PyPI" src="https://img.shields.io/pypi/v/smbcloud-cli"></a>
20
+ <a href="https://crates.io/crates/smbcloud-cli"><img alt="Crates.io" src="https://img.shields.io/crates/v/smbcloud-cli"></a>
21
<a href="https://www.npmjs.com/package/@smbcloud/cli"><img alt="npm" src="https://img.shields.io/npm/v/@smbcloud/cli"></a>
22
+ <a href="https://github.com/smbcloudXYZ/homebrew-tap"><img alt="Homebrew" src="https://img.shields.io/badge/homebrew-tap-orange?logo=homebrew"></a>
23
+ <a href="https://pypi.org/project/smbcloud-cli/"><img alt="PyPI" src="https://img.shields.io/pypi/v/smbcloud-cli"></a>
24
<a href="https://github.com/smbcloudXYZ/smbcloud-cli/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/github/license/smbcloudXYZ/smbcloud-cli"></a>
25
</p>
26
</p>
@@ -78,7 +80,7 @@ Or grab a pre-built binary from the [Releases](https://github.com/smbcloudXYZ/sm
80
81
## Documentation
82
81
-Full documentation is available at [docs.smbcloud.xyz/cli](https://docs.smbcloud.xyz/cli).
83
+Full documentation is available at [smbcloud.xyz/posts](https://smbcloud.xyz/posts).
84
85
## Platform Support
86
pypi/pyproject.toml
+1
-1
@@ -28,7 +28,7 @@ classifiers = [
28
29
[project.urls]
30
Homepage = "https://smbcloud.xyz/"
31
-Documentation = "https://docs.smbcloud.xyz/cli"
31
+Documentation = "https://smbcloud.xyz/posts"
32
Repository = "https://github.com/smbcloudXYZ/smbcloud-cli"
33
Issues = "https://github.com/smbcloudXYZ/smbcloud-cli/issues"
34
sdk/npm/smbcloud-auth/package.json
+1
-1
@@ -24,7 +24,7 @@
24
"sdk",
25
"browser"
26
],
27
- "license": "MIT",
27
+ "license": "Apache-2.0",
28
"homepage": "https://github.com/smbcloudXYZ/smbcloud-cli/tree/main/sdk/npm/smbcloud-auth",
29
"bugs": {
30
"url": "https://github.com/smbcloudXYZ/smbcloud-cli/issues"
sdk/python/pyproject.toml
+3
-3
@@ -8,13 +8,13 @@ description = "Python Auth SDK for smbCloud, built from Rust."
8
readme = "README.md"
9
requires-python = ">=3.8"
10
dynamic = ["version"]
11
-license = { text = "MIT" }
11
+license = { text = "Apache-2.0" }
12
authors = [{ name = "Seto Elkahfi", email = "hej@setoelkahfi.se" }]
13
keywords = ["smbcloud", "auth", "sdk", "python", "rust"]
14
classifiers = [
15
"Development Status :: 4 - Beta",
16
"Intended Audience :: Developers",
17
- "License :: OSI Approved :: MIT License",
17
+ "License :: OSI Approved :: Apache Software License",
18
"Operating System :: MacOS",
19
"Operating System :: Microsoft :: Windows",
20
"Operating System :: POSIX :: Linux",
@@ -26,7 +26,7 @@ classifiers = [
26
27
[project.urls]
28
Homepage = "https://github.com/smbcloudXYZ/smbcloud-cli/tree/main/sdk/python"
29
-Documentation = "https://docs.smbcloud.xyz/cli"
29
+Documentation = "https://smbcloud.xyz/posts"
30
Repository = "https://github.com/smbcloudXYZ/smbcloud-cli"
31
Issues = "https://github.com/smbcloudXYZ/smbcloud-cli/issues"
32