One idea is take all command line arguments as they stand on the command line and thread them through via the magic word API interface. So if you use --publish-opt-in on the CLI you pass publish_opt_in=True in the function definition.
Then the other idea was that the command line interface is confusing so we should make it easier to use when writing th script. But of course, we're just making new conventions and running into new confusions with that :)
Anyway, just writing before I forget.
One idea is take all command line arguments as they stand on the command line and thread them through via the magic word API interface. So if you use `--publish-opt-in` on the CLI you pass `publish_opt_in=True` in the function definition.
Then the other idea was that the command line interface is confusing so we should make it easier to use when writing th script. But of course, we're just making new conventions and running into new confusions with that :)
Anyway, just writing before I forget.
(API thoughts that boiled up in a conversation @ pub.club)
Another suggestion is to also add the folder="FOLDERNAME".
One idea is take all command line arguments as they stand on the command line and thread them through via the magic word API interface. So if you use
--publish-opt-in
on the CLI you passpublish_opt_in=True
in the function definition.Then the other idea was that the command line interface is confusing so we should make it easier to use when writing th script. But of course, we're just making new conventions and running into new confusions with that :)
Anyway, just writing before I forget.