📋
pimp
  • Home
  • Installation
  • FAQ
  • Getting Started
    • Welcome
    • Expand commands
    • Run tasks
    • Render templates
    • Execute scripts
    • Next steps
  • User Guide
    • Pimpfile
    • Configuration File
    • Command Expander
    • Task Runner
    • Template Engine
      • Functions
    • Script Engine (PimpScript)
    • Go Library
  • Integrations
    • Bash, Zsh, Fish
Powered by GitBook
On this page
  • YAML format
  • Go format
  • Resolution order
  1. User Guide

Pimpfile

PreviousNext stepsNextConfiguration File

Last updated 4 years ago

YAML format

Pimpfile are an important part of pimp. These YAML files allow you to configure command expansion and tasks with a simple and expressive syntax.

The whole file will be rendered with the .

Go format

todo

Resolution order

The following resolution algorithm is being used to prioritize the order in which the Pimpfiles commands will be attempted to be matched:

  1. Are we in a git repository?

    1. Yes -> Sequentially open and append the Pimpfiles commands until the root of the repository

    2. No -> Open and append commands from the Pimpfile in the current directory

  2. Open and append the commands from the global Pimpfiles as defined in ~/.pimprc

Template Engine