opctl icon indicating copy to clipboard operation
opctl copied to clipboard

Files/Dirs as objects

Open chrisdostert opened this issue 5 years ago • 0 comments

User Story

As an op designer I want to reference attributes of files/directories natively In order to avoid needing to use an op to do so

Example

inputs:
  appDir:
    dir:
      default: .
  image:
    dir:
      default: image
run:
  op:
    ref: github.com/opspec-pkgs/fs.cp-dir#2.0.1
    inputs:
      src: $(image)
      userId: $(appDir.userId)
      groupId: $(appDir.groupId)
      dstPath: /image
      dst: $(appDir)

chrisdostert avatar Dec 17 '19 01:12 chrisdostert