scaleway-cli icon indicating copy to clipboard operation
scaleway-cli copied to clipboard

Add an import file that support file path

Open remyleone opened this issue 3 years ago • 0 comments

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

I would like to have something like @dns_zone.txt

$ scw dns zone import --help
Import and replace records from a given provider format with default NS.

USAGE:
  scw dns zone import <dns-zone ...> [arg=value ...]

ARGS:
  dns-zone                           The DNS zone to import
  [project-id]                       Project ID to use. If none is passed the default project ID will be used
  [bind-source.content]
  [axfr-source.name-server]
  [axfr-source.tsig-key.name]
  [axfr-source.tsig-key.key]
  [axfr-source.tsig-key.algorithm]

DEPRECATED ARGS:
  [content]
  [format]     (unknown_raw_format | bind)

FLAGS:
  -h, --help   help for import

GLOBAL FLAGS:
  -c, --config string    The path to the config file
  -D, --debug            Enable debug mode
  -o, --output string    Output format: json or human, see 'scw help output' for more info (default "human")
  -p, --profile string   The config profile to use

How I imagine scw could expose this functionality

References

remyleone avatar Mar 04 '22 11:03 remyleone