@@ -36,24 +36,32 @@ export default function ProjectManifestsCliSetup() {
3636 const cliCommands = [
3737 {
3838 title : "Install the CLI" ,
39- command : "npm install -g @stackcore/cli" ,
40- description : "Install the StackCore CLI globally on your system" ,
39+ command : "https://github.com/nanoapi-io/napi" ,
40+ description :
41+ "Follow the instructions to install napi CLI globally on your system" ,
4142 } ,
4243 {
4344 title : "Login to your account" ,
44- command : "napi auth login" ,
45- description : "Authenticate with your StackCore account" ,
45+ command : "napi login" ,
46+ description : "Authenticate with your nanoapi account" ,
47+ } ,
48+ {
49+ title : "Initialize your project (if not already done)" ,
50+ command : "napi init" ,
51+ description :
52+ `You will be prompted to select an existing project, select project "${ context . project . name } "` ,
4653 } ,
4754 {
4855 title : "Generate the manifest" ,
4956 command : "napi manifest generate" ,
50- description : "Generate a manifest file with metadata " ,
57+ description : "This will generate a manifest and push it to your project. " ,
5158 } ,
5259 {
53- title : "Upload with commit info (optional )" ,
60+ title : "Generate the manifest (in a CI/CD pipeline )" ,
5461 command :
55- `napi manifest push --project-id ${ context . project . id } --file ./manifest.json --commit-sha $(git rev-parse HEAD) --branch $(git branch --show-current)` ,
56- description : "Automatically include Git commit information" ,
62+ "napi manifest generate --branch=${{ github.ref_name }} --commit-sha=${{ github.sha }} --commit-sha-date=${{ github.event_time }}" ,
63+ description :
64+ "This will generate a manifest and push it to your project without prompting." ,
5765 } ,
5866 ] ;
5967
@@ -66,8 +74,8 @@ export default function ProjectManifestsCliSetup() {
6674 CLI Instructions
6775 </ CardTitle >
6876 < CardDescription >
69- Upload manifests programmatically using our CLI tool for{ " " }
70- { context . project . name }
77+ Upload manifests programmatically using our CLI tool for your
78+ project: { context . project . name }
7179 </ CardDescription >
7280 </ CardHeader >
7381 < CardContent className = "space-y-4" >
0 commit comments