Module tekton::utils

source ·
Expand description

Simple and easy to use utilities that may be used throughout the CLI program

Functions

  • A helper function to clear the screen and provide better flexibility later on.
  • Function to create a vector of PathBuf’s that will be consumed by the program during runtime.
  • Helper function to get the file extension being passed in.
  • Function to retrive user input, looping until text is in the buffer and is not an empty line
  • A generalized function to convert a JSON blob to a alphabetized JSON string.
  • Function to read the lines of a file and returns a Vec of Strings Arguments:
  • Function to write to a newly created file.