Skip to content

ASCII styles for tty systems #7

@WatskeBart

Description

@WatskeBart

Thanks for the awesome simple app. Could you share how I can add extra styles, so I can create ASCII styles which are compatible with tty terminals?

I'm seeing swift for the first time here and I tried to add a extra style (called spinner) by editing the files ActivityIndicator.swift and ActivityIndicator+CommandArgument.swift and run a swift build.

But running my build with my added style return an error:

Error: The value 'spinner' is invalid for '-s <activity-style>'. Please provide one of 'dots', 'kitt' or 'snake'.
Help:  -s <activity-style>  The style of the activity indicator.
Usage: some-command | progressline
  See 'progressline --help' for more information.

Where do I need to add the extra argument?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions