New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@evoo/plugin-file-ops

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@evoo/plugin-file-ops

The File Ops plugin for the Evoo CLI provides a set of powerful and convenient jobs for performing common file system operations. It allows you to move, copy, remove, create, and rename files and directories directly from your `evoo.json` configuration.

alpha
latest
Source
npmnpm
Version
1.0.0-alpha.1
Version published
Maintainers
1
Created
Source

File Ops Plugin for Evoo CLI

The File Ops plugin for the Evoo CLI provides a set of powerful and convenient jobs for performing common file system operations. It allows you to move, copy, remove, create, and rename files and directories directly from your evoo.json configuration.

Features

  • File System Operations: A comprehensive suite of jobs for managing files and directories.
  • User Confirmation: Built-in confirmation prompts for destructive operations like fsMove, fsRemove, and fsRename, ensuring that you don't make unintended changes.
  • Error Handling: The plugin includes robust error handling to gracefully manage issues like missing source files.

Usage

To use the File Ops plugin, you will need to add jobs of the appropriate type to your evoo.json configuration file.

See the Job's common properties.

The fsMove Job

Moves a file or directory from a source to a destination.

PropertyTypeRequiredDescription
type"fsMove"✔️Specifies the job type.
srcstring✔️The path of the file or directory to move.
deststring✔️The destination path.

Example

{
  "plugins": ["file-ops"],
  "jobs": [
    {
      "type": "fsMove",
      "src": "./old/path/to/file.txt",
      "dest": "./new/path/to/file.txt"
    }
  ]
}

The fsCopy Job

Copies a file or directory from a source to a destination.

PropertyTypeRequiredDescription
type"fsCopy"✔️Specifies the job type.
srcstring✔️The path of the file or directory to copy.
deststring✔️The destination path.

Example

{
  "plugins": ["file-ops"],
  "jobs": [
    {
      "type": "fsCopy",
      "src": "./source/file.txt",
      "dest": "./destination/file.txt"
    }
  ]
}

The fsRemove Job

Removes a file or directory.

PropertyTypeRequiredDescription
type"fsRemove"✔️Specifies the job type.
pathstring✔️The path of the file to be removed.

Example

{
  "plugins": ["file-ops"],
  "jobs": [
    {
      "type": "fsRemove",
      "path": "./path/to/file.txt"
    }
  ]
}

The fsMkdir Job

Creates a new directory.

PropertyTypeRequiredDescription
type"fsMkdir"✔️Specifies the job type.
pathstring✔️The path of the directory to create.

Example

{
  "plugins": ["file-ops"],
  "jobs": [
    {
      "type": "fsMkdir",
      "path": "./new/directory"
    }
  ]
}

The fsRename Job

Renames a file or directory.

PropertyTypeRequiredDescription
type"fsRename"✔️Specifies the job type.
oldPathstring✔️The original path of the file.
newPathstring✔️The new path for the file.

Example

{
  "plugins": ["file-ops"],
  "jobs": [
    {
      "type": "fsRename",
      "oldPath": "./path/to/old-name.txt",
      "newPath": "./path/to/new-name.txt"
    }
  ]
}

Keywords

evoo

FAQs

Package last updated on 03 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts