Skip to content

Commit

Permalink
cleanup (#538)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol1696 authored Jul 30, 2024
1 parent c74a7e8 commit 6bb8fbb
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions clients/js/packages/cli/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ export const loadConfig = (argv: any): Config => {
} as StarshipContext;
let starship: StarshipConfig = {} as StarshipConfig;

console.log('context', context);

// Override context with command-line arguments dynamically based on StarshipContext keys
params.forEach((key) => {
if (argv[key] !== undefined) {
Expand All @@ -64,8 +62,6 @@ export const loadConfig = (argv: any): Config => {
starship = loadYaml(context.config) as StarshipConfig;
}

console.log('starship: ', starship);

return { context, starship };
};

Expand Down Expand Up @@ -97,12 +93,15 @@ Command-line Options:
Examples:
$ starship start --config ./config/two-chain.yaml
$ starship stop --config ./config/two-chain.yaml
If you want to setup starship for the first time
$ starship setup
If you want to run the deployment step by step
$ starship deploy --config ./config/two-chain.yaml
$ starship start-ports --config ./config/two-chain.yaml
$ starship stop-ports --config ./config/two-chain.yaml
$ starship stop --config ./config/two-chain.yaml
$ starship deploy --config ./config/two-chain.yaml
$ starship start-ports --config ./config/two-chain.yaml
$ starship stop-ports --config ./config/two-chain.yaml
$ starship delete --config ./config/two-chain.yaml
Additional Help:
$ starship help Display this help information.
Expand Down

0 comments on commit 6bb8fbb

Please sign in to comment.