github.com/ActiveState/cli@v0.0.0-20240508170324-6801f60cd051/internal/assets/contents/activestate.yaml.ruby.tpl (about)

     1  scripts:
     2    - name: activationMessage
     3      language: ruby
     4      value: |
     5        puts <<END
     6          Quick Start
     7          ───────────
     8          • To add a package to your runtime, type "state install <package name>"
     9          • Learn more about how to use the State Tool, type "state learn"
    10        END
    11  events:
    12    # This is the ACTIVATE event, it will run whenever a new virtual environment is created (eg. by running `state activate`)
    13    # On Linux and macOS this will be ran as part of your shell's rc file, so you can use it to set up aliases, functions, environment variables, etc.
    14    - name: ACTIVATE
    15      value: {{.LangExe}} $scripts.activationMessage.path()