virtualfile-cli 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # ViewFile
1
+ # VirtualFile
2
2
 
3
- ViewFile is a command-line interface (CLI) application that allows you to create, read, edit, and delete text files stored in the cloud. It provides a simple way to access your notes or text content from any machine without relying on local storage.
3
+ VirtualFile is a command-line interface (CLI) application that allows you to create, read, edit, and delete text files stored in the cloud. It provides a simple way to access your notes or text content from any machine without relying on local storage.
4
4
 
5
5
  The project consists of a Node.js CLI client and a REST API backend, making it lightweight, fast, and easy to use from the terminal.
6
6
 
@@ -29,7 +29,7 @@ The project consists of a Node.js CLI client and a REST API backend, making it l
29
29
  ### Install globally
30
30
 
31
31
  ```bash
32
- npm install -g viewfile
32
+ npm install -g virtualfile-cli
33
33
  ```
34
34
 
35
35
  Verify the installation:
package/client/index.js CHANGED
@@ -12,7 +12,7 @@ const { version } = require("../package.json");
12
12
  const args = process.argv.slice(2);
13
13
 
14
14
  function showHelp() {
15
- logger.title("ViewFile CLI");
15
+ logger.title("VirtualFile CLI");
16
16
  console.log(`Version ${version}
17
17
 
18
18
  Usage:
@@ -65,7 +65,7 @@ async function main() {
65
65
 
66
66
  case "--version":
67
67
  case "-v":
68
- console.log(`ViewFile CLI v${version}`);
68
+ console.log(`VirtualFile CLI v${version}`);
69
69
  break;
70
70
 
71
71
  default:
@@ -24,7 +24,7 @@ class Renderer {
24
24
  }
25
25
 
26
26
  // Header
27
- term.bold.cyan("ViewFile\n");
27
+ term.bold.cyan("VirtualFile\n");
28
28
 
29
29
  term.gray("Editing: ");
30
30
  term.green(filename);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "virtualfile-cli",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "A terminal-based cloud text file storage CLI.",
5
5
  "bin": {
6
6
  "vf": "client/index.js"
package/server/app.js CHANGED
@@ -15,7 +15,7 @@ app.use(cors());
15
15
  app.use(express.json());
16
16
  app.use("/files", fileRoutes);
17
17
  app.get("/", (req, res) => {
18
- res.send("ViewFile API Running...");
18
+ res.send("VirtualFile API Running...");
19
19
  });
20
20
 
21
21
  const PORT = process.env.PORT || 5000;