Skip to content

update msg command with ability to accept input file#61

Open
scgbckbone wants to merge 1 commit intoColdcard:masterfrom
scgbckbone:improve_msg_cmd
Open

update msg command with ability to accept input file#61
scgbckbone wants to merge 1 commit intoColdcard:masterfrom
scgbckbone:improve_msg_cmd

Conversation

@scgbckbone
Copy link
Copy Markdown
Contributor

  • msg-file cmd removed and instead it's functionality partially implemented in normal msg cmd (lot dupe lines, & generally does not deserve its own cmd)
  • I would gladly remove -o/--output option as it can be simulated with redirections (but keep for now)
  • compared to msg-file this does not creates output file by default, but user has to provide it as a -o/--output parameter

Copy link
Copy Markdown
Contributor Author

@scgbckbone scgbckbone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@portlandhodl we can adjust according to your needs

@portlandhodl
Copy link
Copy Markdown
Contributor

portlandhodl commented Apr 7, 2026

I like it!

I created the new command to avoid this, regardless if you are okay with it I am too! The main thing is that the functionality is present.

@click.option('--in-file', is_flag=True,
              help='If present, argument MESSAGE is treated as path to input file containing message'

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.

2 participants