-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for saving public key to file using -output flag
- Introduced the `-output` flag to allow users to specify a file path for saving the public key. - Updated the `printPublicKey` function to write the public key to the specified file, or to stdout if no file is provided. - Modified the `create` and `migrate` cases to support the `-output` flag when printing the public key. - Ensured backward compatibility by retaining stdout output when `-output` is not used.
- Loading branch information
1 parent
f182baf
commit d472dfc
Showing
1 changed file
with
26 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters