-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[JSTC-37] Create table help output shows prefix #87
Comments
@sanderpick good call on this command being unclear. I'm dumping my thoughts below... For context, I believe we have 5 ways to run the create command:
The full text of Ideas:
|
I think input from stdin/files is still useful. We should just drop support for extra flags etc though (IMO). Because there should really just be one way to do it, using a create statement. Stdin/files are also just doing it the same way (via a create statement), they are just alternative input sources. |
I think the stdin option requires you to pipe in the content? But not 100% sure anymore? |
That makes sense. You can just type, but the prompt never closes and only works for the first statement. |
Does Ctrl+D properly close it out? |
Yeah, which is all good, it's just a little confusing since the second (and third etc) command don't do anything. |
Sounds good to me, but this would undo the changes that fixed tablelandnetwork/js-tableland-cli#306 so maybe @dtbuchholz has thoughts. |
I think that should be fine...I should be able to pass an empty prefix within a full create statement anyways like |
Ah, makes sense! I didn't even realize that i had supplied a full create statement. That is a nice pattern. The other way that makes sense to me is with the I don't have a strong pref on removing options here... but we should document them. If I do
I think some examples of the different patterns would be nice in the help output. |
(moved to new issue #90) |
When creating a table, I noticed that the prefix is auto-applied from the table name in the create statement (neat!). However, the help command still shows that you can supply a prefix. I'm not sure if that still actually works. In either case, I don't think there should be two ways to do this… or if that is needed for some reason, the help command should be clear about it.
cc @carsonfarmer @joewagner
From SyncLinear.com | JSTC-37
The text was updated successfully, but these errors were encountered: