cli-kit

OTHER License

Downloads
33K
Stars
52
Committers
10

Bot releases are visible (Hide)

cli-kit - v0.4.1 Latest Release

Published by github-actions[bot] 10 months ago

Patch Changes

  • 3689076: Adds a new tie option to the say function
cli-kit - v0.4.0

Published by github-actions[bot] 10 months ago

Minor Changes

  • fbec51e: Adds a new tasks utility that displays a spinner for multiple, sequential tasks.

    import { tasks } from "@astrojs/cli-kit";
    
    const queue = [
      {
        pending: "Task 1",
        start: "Task 1 initializing",
        end: "Task 1 completed",
        // async callback will be called and awaited sequentially
        while: () => someAsyncAction(),
      },
      // etc
    ];
    
    const labels = {
      start: "Project initializing...",
      end: "Project initialized!",
    };
    
    await tasks(labels, queue);
    
cli-kit - v0.3.1

Published by github-actions[bot] 12 months ago

Patch Changes

  • de0ef35: Added onError functionality to spinner to handle errors if while arg throws an error
cli-kit - v0.3.0

Published by github-actions[bot] about 1 year ago

Minor Changes

  • d1b4e01: Fix types not working properly under moduleResolution: 'node16'
cli-kit - v0.2.5

Published by github-actions[bot] about 1 year ago

Patch Changes

  • 98fe7c3: Fix nested promises in say
  • 98fe7c3: Revert Houston wrapping
cli-kit - v0.2.4

Published by github-actions[bot] about 1 year ago

Patch Changes

  • 4c8e088: Allow Houston to line wrap
  • fb2f11f: add support for ctrl+n and ctrl+p navigation in multiselect prompt
  • 171a7fe: Allow messages to be async
cli-kit - v0.2.3

Published by github-actions[bot] over 1 year ago

Patch Changes

  • 9fd538f: Respect Ctrl + C when spinner is active
cli-kit - v0.2.2

Published by github-actions[bot] over 1 year ago

Patch Changes

  • Update project names
cli-kit - v0.2.1

Published by github-actions[bot] over 1 year ago

Patch Changes

  • d24e9ee: Fix line spacing for spinner
cli-kit - v0.2.0

Published by github-actions[bot] over 1 year ago

Minor Changes

  • d64ab0b: Expose stdout hooks to all functions
cli-kit - v0.1.6

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • 1daaad1: Hopefully fixes input locking issue
cli-kit - v0.1.5

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • b686135: Make Houston friendly again (whoops)
cli-kit - v0.1.4

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • 1c61aa5: Ensure setRawMode is only called when process.stdin.isTTY
cli-kit - v0.1.3

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • update ascii/unicode logic, expose forceUnicode util
cli-kit - v0.1.2

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • Fix useAscii logic
cli-kit - v0.1.1

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • Update isWin util to respect a FORCE_UNICODE process.env variable
cli-kit - v0.1.0

Published by github-actions[bot] about 2 years ago

Minor Changes

  • 40d2a47: Improve Windows compatability
cli-kit - v0.0.4

Published by github-actions[bot] about 2 years ago

Patch Changes

  • 703ec77: Close readline when animation is done
cli-kit - v0.0.3

Published by github-actions[bot] about 2 years ago

Patch Changes

  • fix clear issue
cli-kit - v0.0.2

Published by github-actions[bot] about 2 years ago

Patch Changes

  • Fix utils types