Skip to content

Commit ac67293

Browse files
author
Eason Smith
committed
replaced all "cca" with "cia"
1 parent 3e6c37d commit ac67293

File tree

8 files changed

+45
-45
lines changed

8 files changed

+45
-45
lines changed

.github/workflows/run-tests.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,62 +28,62 @@ jobs:
2828
2929
- name: asset-list
3030
run: |
31-
cca --example asset-list --name asset-list
31+
cia --example asset-list --name asset-list
3232
cd asset-list
3333
yarn build
3434
3535
- name: vote-proposal
3636
run: |
37-
cca --example vote-proposal --name vote-proposal
37+
cia --example vote-proposal --name vote-proposal
3838
cd vote-proposal
3939
yarn build
4040
4141
- name: ibc-transfer
4242
run: |
43-
cca --example ibc-transfer --name ibc-transfer
43+
cia --example ibc-transfer --name ibc-transfer
4444
cd ibc-transfer
4545
yarn build
4646
4747
- name: swap-tokens
4848
run: |
49-
cca --example swap-tokens --name swap-tokens
49+
cia --example swap-tokens --name swap-tokens
5050
cd swap-tokens
5151
yarn build
5252
5353
- name: provide-liquidity
5454
run: |
55-
cca --example provide-liquidity --name provide-liquidity
55+
cia --example provide-liquidity --name provide-liquidity
5656
cd provide-liquidity
5757
yarn build
5858
5959
- name: nft
6060
run: |
61-
cca --example nft --name nft
61+
cia --example nft --name nft
6262
cd nft
6363
touch yarn.lock
6464
yarn install
6565
yarn build
6666
6767
- name: authz
6868
run: |
69-
cca --example authz --name authz
69+
cia --example authz --name authz
7070
cd authz
7171
yarn build
7272
7373
- name: connect-chain
7474
run: |
75-
cca --template connect-chain --name connect-chain
75+
cia --template connect-chain --name connect-chain
7676
cd connect-chain
7777
yarn build
7878
7979
- name: connect-multi-chain
8080
run: |
81-
cca --template connect-multi-chain --name connect-multi-chain
81+
cia --template connect-multi-chain --name connect-multi-chain
8282
cd connect-multi-chain
8383
yarn build
8484
8585
- name: website
8686
run: |
87-
cca --boilerplate website --name website
87+
cia --boilerplate website --name website
8888
cd website
8989
yarn build

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ npm install -g create-interchain-app
3333
Then, create your new Cosmos app by running the following command:
3434

3535
```sh
36-
# you can also use `cca` instead of `create-interchain-app` for shortcut ;)
36+
# you can also use `cia` instead of `create-interchain-app` for shortcut ;)
3737
create-interchain-app
3838
```
3939

@@ -86,10 +86,10 @@ Then run the command:
8686
create-interchain-app
8787
```
8888

89-
we also made an alias `cca` if you don't want to type `create-interchain-app`:
89+
we also made an alias `cia` if you don't want to type `create-interchain-app`:
9090

9191
```sh
92-
cca
92+
cia
9393
```
9494

9595
### npx
@@ -115,19 +115,19 @@ yarn create cosmos-app
115115
The `create-interchain-app` tool provides a range of examples to help you understand and test various features and integrations. By executing the examples, you can quickly see how to implement specific functionalities in your Cosmos app.
116116

117117
```
118-
cca --example
118+
cia --example
119119
```
120120

121121
If you know the example name, you can do
122122

123123
```
124-
cca --example <example-name>
124+
cia --example <example-name>
125125
```
126126

127127
Alternatively, you can use the shorthand `-e` flag to achieve the same:
128128

129129
```
130-
cca -e <example-name>
130+
cia -e <example-name>
131131
```
132132

133133
This command will generate a new project configured with the selected example, allowing you to dive into the code and functionality right away.
@@ -142,7 +142,7 @@ Initiate and manage staking operations directly within your application, allowin
142142

143143

144144
```
145-
cca --name stake-example --example stake-tokens
145+
cia --name stake-example --example stake-tokens
146146
```
147147

148148
### Vote Proposal
@@ -154,7 +154,7 @@ cca --name stake-example --example stake-tokens
154154
Facilitate on-chain governance by enabling users to vote on proposals, enhancing community engagement and decision-making.
155155

156156
```
157-
cca --name vote-example --example vote-proposal
157+
cia --name vote-example --example vote-proposal
158158
```
159159

160160
### Authz
@@ -166,7 +166,7 @@ cca --name vote-example --example vote-proposal
166166
Leverage the Authz module to grant and manage authorizations, allowing users to perform actions on behalf of others.
167167

168168
```
169-
cca --name authz-example --example authz
169+
cia --name authz-example --example authz
170170
```
171171

172172
### grpc-web and grpc-gateway
@@ -178,7 +178,7 @@ cca --name authz-example --example authz
178178
Integrate gRPC-web and gRPC-gateway in your app for robust and efficient communication between your Cosmos SDK blockchain and web clients.
179179

180180
```
181-
cca --name grpc-example --example grpc-web-grpc-gateway
181+
cia --name grpc-example --example grpc-web-grpc-gateway
182182
```
183183

184184
### Swap Tokens
@@ -190,7 +190,7 @@ cca --name grpc-example --example grpc-web-grpc-gateway
190190
Utilize [osmojs](https://github.com/osmosis-labs/osmojs) for streamlined token swapping capabilities within your Osmosis app.
191191

192192
```
193-
cca --name swap-example --example swap-tokens
193+
cia --name swap-example --example swap-tokens
194194
```
195195

196196
### Provide Liquidity
@@ -202,7 +202,7 @@ cca --name swap-example --example swap-tokens
202202
Use [osmojs](https://github.com/osmosis-labs/osmojs) to enable liquidity provision features, enhancing the DeFi experience in your app.
203203

204204
```
205-
cca --name liquidity-example --example provide-liquidity
205+
cia --name liquidity-example --example provide-liquidity
206206
```
207207

208208
### Asset List
@@ -214,7 +214,7 @@ cca --name liquidity-example --example provide-liquidity
214214
Create and manage an asset list, offering comprehensive insights into the available assets, and empower your application with Inter-Blockchain Communication (IBC) capabilities for transferring tokens across different chains.
215215

216216
```
217-
cca --name asset-list-example --example asset-list
217+
cia --name asset-list-example --example asset-list
218218
```
219219

220220
### NFT
@@ -226,14 +226,14 @@ cca --name asset-list-example --example asset-list
226226
Incorporate NFT functionalities into your Stargaze app using [stargazejs](https://github.com/cosmology-tech/stargazejs), enabling seamless NFT minting, transfer, and management.
227227

228228
```
229-
cca --name nft-example --example nft
229+
cia --name nft-example --example nft
230230
```
231231

232232
## Options
233233

234234
| Argument | Description | Default |
235235
|----------------------|------------------------------------------------|------------|
236-
| `--repo` | Set custom repository for cca templates | None |
236+
| `--repo` | Set custom repository for cia templates | None |
237237
| `--install` | Automatically install dependencies | `true` |
238238
| `--printCmd` | Print the command to run after setup | `true` |
239239
| `-n`, `--name` | Provide a project name | None |

packages/create-cosmos-app/README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ npm install -g create-interchain-app
3333
Then, create your new Cosmos app by running the following command:
3434

3535
```sh
36-
# you can also use `cca` instead of `create-interchain-app` for shortcut ;)
36+
# you can also use `cia` instead of `create-interchain-app` for shortcut ;)
3737
create-interchain-app
3838
```
3939

@@ -86,10 +86,10 @@ Then run the command:
8686
create-interchain-app
8787
```
8888

89-
we also made an alias `cca` if you don't want to type `create-interchain-app`:
89+
we also made an alias `cia` if you don't want to type `create-interchain-app`:
9090

9191
```sh
92-
cca
92+
cia
9393
```
9494

9595
### npx
@@ -115,19 +115,19 @@ yarn create cosmos-app
115115
The `create-interchain-app` tool provides a range of examples to help you understand and test various features and integrations. By executing the examples, you can quickly see how to implement specific functionalities in your Cosmos app.
116116

117117
```
118-
cca --example
118+
cia --example
119119
```
120120

121121
If you know the example name, you can do
122122

123123
```
124-
cca --example <example-name>
124+
cia --example <example-name>
125125
```
126126

127127
Alternatively, you can use the shorthand `-e` flag to achieve the same:
128128

129129
```
130-
cca -e <example-name>
130+
cia -e <example-name>
131131
```
132132

133133
This command will generate a new project configured with the selected example, allowing you to dive into the code and functionality right away.
@@ -142,7 +142,7 @@ Initiate and manage staking operations directly within your application, allowin
142142

143143

144144
```
145-
cca --name stake-example --example stake-tokens
145+
cia --name stake-example --example stake-tokens
146146
```
147147

148148
### Vote Proposal
@@ -154,7 +154,7 @@ cca --name stake-example --example stake-tokens
154154
Facilitate on-chain governance by enabling users to vote on proposals, enhancing community engagement and decision-making.
155155

156156
```
157-
cca --name vote-example --example vote-proposal
157+
cia --name vote-example --example vote-proposal
158158
```
159159

160160
### Authz
@@ -166,7 +166,7 @@ cca --name vote-example --example vote-proposal
166166
Leverage the Authz module to grant and manage authorizations, allowing users to perform actions on behalf of others.
167167

168168
```
169-
cca --name authz-example --example authz
169+
cia --name authz-example --example authz
170170
```
171171

172172
### grpc-web and grpc-gateway
@@ -178,7 +178,7 @@ cca --name authz-example --example authz
178178
Integrate gRPC-web and gRPC-gateway in your app for robust and efficient communication between your Cosmos SDK blockchain and web clients.
179179

180180
```
181-
cca --name grpc-example --example grpc-web-grpc-gateway
181+
cia --name grpc-example --example grpc-web-grpc-gateway
182182
```
183183

184184
### Swap Tokens
@@ -190,7 +190,7 @@ cca --name grpc-example --example grpc-web-grpc-gateway
190190
Utilize [osmojs](https://github.com/osmosis-labs/osmojs) for streamlined token swapping capabilities within your Osmosis app.
191191

192192
```
193-
cca --name swap-example --example swap-tokens
193+
cia --name swap-example --example swap-tokens
194194
```
195195

196196
### Provide Liquidity
@@ -202,7 +202,7 @@ cca --name swap-example --example swap-tokens
202202
Use [osmojs](https://github.com/osmosis-labs/osmojs) to enable liquidity provision features, enhancing the DeFi experience in your app.
203203

204204
```
205-
cca --name liquidity-example --example provide-liquidity
205+
cia --name liquidity-example --example provide-liquidity
206206
```
207207

208208
### Asset List
@@ -214,7 +214,7 @@ cca --name liquidity-example --example provide-liquidity
214214
Create and manage an asset list, offering comprehensive insights into the available assets, and empower your application with Inter-Blockchain Communication (IBC) capabilities for transferring tokens across different chains.
215215

216216
```
217-
cca --name asset-list-example --example asset-list
217+
cia --name asset-list-example --example asset-list
218218
```
219219

220220
### NFT
@@ -226,14 +226,14 @@ cca --name asset-list-example --example asset-list
226226
Incorporate NFT functionalities into your Stargaze app using [stargazejs](https://github.com/cosmology-tech/stargazejs), enabling seamless NFT minting, transfer, and management.
227227

228228
```
229-
cca --name nft-example --example nft
229+
cia --name nft-example --example nft
230230
```
231231

232232
## Options
233233

234234
| Argument | Description | Default |
235235
|----------------------|------------------------------------------------|------------|
236-
| `--repo` | Set custom repository for cca templates | None |
236+
| `--repo` | Set custom repository for cia templates | None |
237237
| `--install` | Automatically install dependencies | `true` |
238238
| `--printCmd` | Print the command to run after setup | `true` |
239239
| `-n`, `--name` | Provide a project name | None |

packages/create-cosmos-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"main": "dist/index.js",
99
"typings": "dist/index.d.ts",
1010
"bin": {
11-
"cca": "dist/create-interchain-app.js",
11+
"cia": "dist/create-interchain-app.js",
1212
"create-interchain-app": "dist/create-interchain-app.js"
1313
},
1414
"directories": {

packages/create-cosmos-app/src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { CCA_URL } from "./constants";
2-
import { createGitApp } from "./git-cca-template";
2+
import { createGitApp } from "./git-cia-template";
33
export const cli = async (argv, version) => {
44
const repo = argv.repo ?? CCA_URL;
55
const createCosmosApp = createGitApp(repo, version);

packages/create-cosmos-app/src/git-cca-template.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ async function warnIfOutdated(repo, clonedRepoDir, version) {
7171
const rootPkgPath = join(clonedRepoDir, 'packages/create-interchain-app/package.json');
7272
const rootPkg = JSON.parse(fs.readFileSync(rootPkgPath, 'utf-8'));
7373
if (semver.lt(rootPkg.version, version)) {
74-
console.warn(c.yellow(`⚠️ You are using create-interchain-app version ${c.red(rootPkg.version)}, but version ${c.green(version)} is available. Run "${c.cyan('cca upgrade')}" or "${c.cyan('npm install -g create-interchain-app@latest')}" to upgrade.`));
74+
console.warn(c.yellow(`⚠️ You are using create-interchain-app version ${c.red(rootPkg.version)}, but version ${c.green(version)} is available. Run "${c.cyan('cia upgrade')}" or "${c.cyan('npm install -g create-interchain-app@latest')}" to upgrade.`));
7575
}
7676
}
7777
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// noop
22

3-
export * from './git-cca-template';
3+
export * from './git-cia-template';

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19460,7 +19460,7 @@ __metadata:
1946019460
ts-jest: "npm:^29.0.3"
1946119461
typescript: "npm:^5.1.6"
1946219462
bin:
19463-
cca: dist/create-interchain-app.js
19463+
cia: dist/create-interchain-app.js
1946419464
create-interchain-app: dist/create-interchain-app.js
1946519465
languageName: unknown
1946619466
linkType: soft

0 commit comments

Comments
 (0)