Skip to content

boot-fake-node: add latest option (default)#47

Merged
nick1udwig merged 5 commits intomasterfrom
hf/add-latest-version
Jan 23, 2024
Merged

boot-fake-node: add latest option (default)#47
nick1udwig merged 5 commits intomasterfrom
hf/add-latest-version

Conversation

@nick1udwig
Copy link
Copy Markdown
Member

Resolves #42

@nick1udwig
Copy link
Copy Markdown
Member Author

kit f now has a latest option for version (the new default). In addition, the help text will display the versions that are available (up to 3 latest remote versions [fallback to local if offline]). It also behaves nicely offline (looks for a local copy and uses newest local copy found).

$ kit f --help
Boot a fake node for development

Usage: kit boot-fake-node [OPTIONS]

Options:
  -r, --runtime-path <PATH>
          Path to Kinode core repo or runtime binary (overrides --version)
  -v, --version <VERSION>
          Version of Kinode binary to use (overridden by --runtime-path) [default: latest] [possible values: latest, v0.5.1-alpha, v0.5.0-alpha]
  -p, --port <NODE_PORT>
          The port to run the fake node on [default: 8080]
  -h, --home <HOME>
          Where to place the home directory for the fake node [default: /tmp/kinode-fake-node]
  -f, --fake-node-name <NODE_NAME>
          Name for fake node [default: fake.os]
      --network-router-port <NETWORK_ROUTER_PORT>
          The port to run the network router on (or to connect to) [default: 9001]
      --rpc <RPC_ENDPOINT>
          Ethereum RPC endpoint (wss://)
      --persist
          If set, do not delete node home after exit
      --password <PASSWORD>
          Password to login [default: secret]
      --help
          Print help

@nick1udwig nick1udwig merged commit 16b3363 into master Jan 23, 2024
@nick1udwig nick1udwig deleted the hf/add-latest-version branch January 23, 2024 01:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fetch latest, not a specific version

1 participant