viSpec top-level property

FigSpec viSpec
final

Completion spec for vi CLI

Implementation

final FigSpec viSpec = FigSpec(
  name: 'vi',
  description: 'Vi[m] is an one of two powerhouse text editors in the Unix world, the other being EMACS',
  args: [
    Arg(
    template: 'filepaths'
  )
  ],
  options: [

    Option(
      name: ['-h', '--help'],
      description: 'Print help message for vi and exit'
    )
  ]
);