Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cli): implement personality for application name-agnostic help manuals #238

Merged
merged 16 commits into from
Nov 21, 2023

Commits on Jun 14, 2023

  1. cli: make CLI name-agnostic

     * Implements the concept of personality, a struct that
       contains information about the application identity,
       such as the program binary name and the application
       display name.  This enables the implementation of
       Pebble-based software that does not necessarily have
       the same name as Pebble.
     * Help strings throughout the application have been
       slightly modified so self-references to pebble/Pebble
       are removed without changing the semantics of the
       help manual.
    anpep committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    846567f View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2023

  1. Configuration menu
    Copy the full SHA
    ec2da23 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2023

  1. enter: include daemon name on panic()

    If the client panics due to the Pebble daemon stopping early,
    include the program name from personality so it's unambiguous.
    anpep committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    2490d53 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2023

  1. Configuration menu
    Copy the full SHA
    1dcba69 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2023

  1. cli: placeholder substitutions for personality

    Argument, option and command descriptions can now utilize the
    `<display name>` and `<program name>` notation that will be substituted
    with the corresponding values depending on the current binary personality.
    anpep committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    410136d View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2023

  1. Configuration menu
    Copy the full SHA
    4fae76b View commit details
    Browse the repository at this point in the history
  2. cli: fix linting issues

    anpep committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    c5628ff View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2023

  1. Configuration menu
    Copy the full SHA
    6daa931 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2023

  1. cli: Minor changes to personality implementation.

     * `PersonalityInfo` has been removed in favour of independent variables.
     * Change `<personality var>` syntax to `{{.PersonalityVar}}`.
       (e.g. `{{.ProgramName}}` instead of `<program name>`)
     * Fixed `manfixer` logic in the help command.
     * Restored variables in help command instead of inline strings.
    anpep committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    5340cdf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0284255 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2023

  1. cli: Minor fixes.

    anpep committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    f0ba2ed View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2023

  1. Configuration menu
    Copy the full SHA
    1e8f2d9 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2023

  1. Configuration menu
    Copy the full SHA
    7bcbbc3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6c855d3 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2023

  1. Configuration menu
    Copy the full SHA
    2371484 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b770a7e View commit details
    Browse the repository at this point in the history