Skip to content

Commit

Permalink
Add default values for wallet, password, address, and metadatas in co…
Browse files Browse the repository at this point in the history
…nfig
  • Loading branch information
thomas-senechal committed Jan 13, 2025
1 parent 6bd5f91 commit ffe5b63
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cli/src/commands/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,9 @@ export function setDefaultValues(commandOptions: OptionValues): OptionValues {
return {
node_url: commandOptions.node_url || DEFAULT_NODE_URL,
chunk_size: commandOptions.chunk_size || DEFAULT_CHUNK_SIZE,
wallet: commandOptions.wallet || '',
password: commandOptions.password || '',
address: '',
metadatas: [],
}
}

0 comments on commit ffe5b63

Please sign in to comment.