Generate shell completion script