Skip to content

Do not assume a default name for the specification file #133

@StoneyJackson

Description

@StoneyJackson

plccmk defines default names for specification files and a priority among them: "first look for 'spec', then look for 'grammar'".

Based on discussion in #125 , I think we should remove the default from plccmk and require users to supply the path to the file as a command line argument.

plccmk grammar
plccmk ../relative/to/cwd/spec
plccmk /absolute/to/thingamajig

Advantages:

  1. Less magic for the user; explicit connection between the command and the file it operates on.
  2. Allows instructors to use whatever naming convention they feel is best.
  3. Simplifies plccmk logic.

Disadvantages:

  1. Breaks existing course materials that use plccmk with a default file name and location.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions