Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 468 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 468 Bytes

@acao/sed

Basic text transformations on an input stream

Usage

// acao.config.ts
import { defineConfig, run } from 'acao'
import { sedSubstitute } from 'acao/sed'

export default defineConfig({
  jobs: {
    ci: {
      steps: [
        sedSubstitute('~/docker-compose.yml', { inPlace: false, values: [{ find: '3', replacement: '2' }] }),
      ],
    },
  },
})

License

MIT License © 2024-PRESENT Tamago