Skip to content

SHPC provide option to just get command provided in module.lua #667

Open
@Amjadhpc

Description

@Amjadhpc

Hello
I am newbie to shpc and still learning
Does shpc has any flag that will inspect the module.lua file generated and just get the command section? or there is a flag in config section that can move the commands provided commands to a location so that when user load module, that binary is in the PATH.

E.g . Module.lua for couchdb 3.1. consists

couchdb:
singularity exec -B /99-shpc.sh:/.singularity.d/env/99-shpc.sh /opt/couchdb/bin/couchdb "$@"

  • couchdb.cmd:
    singularity exec -B /99-shpc.sh:/.singularity.d/env/99-shpc.sh /opt/couchdb/bin/couchdb.cmd "$@"
  • couchjs:
    singularity exec -B /99-shpc.sh:/.singularity.d/env/99-shpc.sh /opt/couchdb/bin/couchjs "$@"
  • remsh:
    singularity exec -B /99-shpc.sh:/.singularity.d/env/99-shpc.sh /opt/couchdb/bin/remsh "$@"

Can this binaires be added as files to path where couchdb module.lua is located ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions