Closed joewagner closed 9 months ago
This PR was not deployed automatically as @joewagner does not have access to the Railway project.
In order to get automatic PR deploys, please add @joewagner to your team on Railway.
## Summary When I use `deployments create` or `import-data`, i *have to* pass the chain, providerUrl, and privateKey flags. However, I already logged in with these values, so i'd expect they would be used when i try to run these commands. ## Details Here's an example with `import-data`: ``` studio import-data test_table d.csv --pid de24e0a0-508c-4e1f-aa96-176a5ff2890a ``` When I do this, it will error out with `Error: invalid hexlify value`. If i pass the flags noted above, then it works. (I'm not sure if this is unexpected behavior or a UX consideration.)
fixes https://linear.app/tableland/issue/STU-197/cli-creating-tables-or-importing-data-doesnt-use-login-context
This PR enables you to
use
"chain" and "provider", as well as adds the option to set a default chain value during theinit
command