@jalsoedesign/filezilla-cli 1.0.0 → 1.1.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 +12 -2
- package/dist/commands/search.d.ts +3 -0
- package/dist/commands/search.d.ts.map +1 -0
- package/dist/commands/search.js +54 -0
- package/dist/commands/search.js.map +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +23 -5
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# @jalsoedesign/filezilla-cli
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Find saved FileZilla connection details from your terminal. Search by site name, IP address, username or any other saved field, display matching profiles, and copy individual values into scripts.
|
|
6
6
|
|
|
7
7
|
[](https://www.npmjs.com/package/@jalsoedesign/filezilla-cli)
|
|
8
8
|
[](https://opensource.org/licenses/MIT)
|
|
@@ -24,7 +24,17 @@ npm install -g @jalsoedesign/filezilla-cli
|
|
|
24
24
|
|
|
25
25
|
## Quick start
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
Search your usual FileZilla configuration; the CLI finds it automatically on Windows, macOS and Linux.
|
|
28
|
+
|
|
29
|
+
```sh
|
|
30
|
+
filezilla-js --search clientName --show-password
|
|
31
|
+
filezilla-js --search 10.2.3.4 --show-password
|
|
32
|
+
filezilla-js search admin-user --json
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Each match gets a Label/Value table with Name, Path, Protocol, Host, Port, Username, Password and Remote. Passwords are hidden unless you pass `--show-password`. Use `--file <path>` to search another Site Manager XML file.
|
|
36
|
+
|
|
37
|
+
Search matches a case-insensitive substring across all loaded fields, including passwords, comments, local directories and decoded remote directories. It does not connect to the servers. JSON output is an array, including `[]` when nothing matches. The existing `list --search` and `get --search` options search names and folder paths.
|
|
28
38
|
|
|
29
39
|
### List all sites
|
|
30
40
|
```bash
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../src/commands/search.ts"],"names":[],"mappings":"AACA,OAAO,EAAiB,cAAc,EAAe,MAAM,aAAa,CAAC;AAwBzE,eAAO,MAAM,aAAa,EAAE,cAsC3B,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { formatOutput } from '../types.js';
|
|
2
|
+
function profileDetails(server, options) {
|
|
3
|
+
const properties = server.propertiesRaw;
|
|
4
|
+
let remoteDirectory = properties.remoteDirectory ?? '';
|
|
5
|
+
try {
|
|
6
|
+
remoteDirectory = server.getRemoteDirectory();
|
|
7
|
+
}
|
|
8
|
+
catch {
|
|
9
|
+
remoteDirectory = `${remoteDirectory} (encoded; unsupported path)`;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
path: server.path,
|
|
13
|
+
name: properties.name,
|
|
14
|
+
protocol: server.siteProtocolName,
|
|
15
|
+
host: properties.host,
|
|
16
|
+
port: properties.port,
|
|
17
|
+
user: properties.user,
|
|
18
|
+
password: options.showPassword ? properties.password ?? '' : '(hidden)',
|
|
19
|
+
remoteDirectory,
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
export const searchCommand = async (ctx) => {
|
|
23
|
+
const term = ctx.options.search ?? ctx.args[0];
|
|
24
|
+
if (term === undefined || ctx.args.length > (ctx.options.search === undefined ? 1 : 0)) {
|
|
25
|
+
throw new Error('Specify one search term: filezilla-js search <term>');
|
|
26
|
+
}
|
|
27
|
+
if (ctx.options.recurse || ctx.options.full) {
|
|
28
|
+
throw new Error('--recurse and --full are list options; search displays profile details');
|
|
29
|
+
}
|
|
30
|
+
const profiles = ctx.siteManager.searchServers(term, { fields: 'all' })
|
|
31
|
+
.map(server => profileDetails(server, ctx.options));
|
|
32
|
+
if (ctx.options.json) {
|
|
33
|
+
formatOutput(profiles, ctx.options);
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
console.log(`Found ${profiles.length} ${profiles.length === 1 ? 'server' : 'servers'}`);
|
|
37
|
+
for (const profile of profiles) {
|
|
38
|
+
console.log('');
|
|
39
|
+
formatOutput(profile, { ...ctx.options, table: true }, {
|
|
40
|
+
columns: ['Label', 'Value'],
|
|
41
|
+
rows: [
|
|
42
|
+
['Name', profile.name],
|
|
43
|
+
['Path', profile.path],
|
|
44
|
+
['Protocol', profile.protocol],
|
|
45
|
+
['Host', profile.host],
|
|
46
|
+
['Port', profile.port],
|
|
47
|
+
['Username', profile.user],
|
|
48
|
+
['Password', profile.password],
|
|
49
|
+
['Remote', profile.remoteDirectory],
|
|
50
|
+
],
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
//# sourceMappingURL=search.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search.js","sourceRoot":"","sources":["../../src/commands/search.ts"],"names":[],"mappings":"AACA,OAAO,EAAiC,YAAY,EAAC,MAAM,aAAa,CAAC;AAEzE,SAAS,cAAc,CAAC,MAAc,EAAE,OAAkC;IACtE,MAAM,UAAU,GAAG,MAAM,CAAC,aAAa,CAAC;IACxC,IAAI,eAAe,GAAG,UAAU,CAAC,eAAe,IAAI,EAAE,CAAC;IAEvD,IAAI,CAAC;QACD,eAAe,GAAG,MAAM,CAAC,kBAAkB,EAAE,CAAC;IAClD,CAAC;IAAC,MAAM,CAAC;QACL,eAAe,GAAG,GAAG,eAAe,8BAA8B,CAAC;IACvE,CAAC;IAED,OAAO;QACH,IAAI,EAAE,MAAM,CAAC,IAAI;QACjB,IAAI,EAAE,UAAU,CAAC,IAAI;QACrB,QAAQ,EAAE,MAAM,CAAC,gBAAgB;QACjC,IAAI,EAAE,UAAU,CAAC,IAAI;QACrB,IAAI,EAAE,UAAU,CAAC,IAAI;QACrB,IAAI,EAAE,UAAU,CAAC,IAAI;QACrB,QAAQ,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,UAAU,CAAC,QAAQ,IAAI,EAAE,CAAC,C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C;QAChB,YAAY,CAAC,OAAO,EAAE,EAAC,GAAG,GAAG,CAAC,OAAO,EAAE,KAAK,EAAE,IAAI,EAAC,EAAE;YACjD,OAAO,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC;YAC3B,IAAI,EAAE;gBACF,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,CAAC;gBACtB,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,CAAC;gBACtB,CAAC,UAAU,EAAE,OAAO,CAAC,QAAQ,CAAC;gBAC9B,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,CAAC;gBACtB,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,CAAC;gBACtB,CAAC,UAAU,EAAE,OAAO,CAAC,IAAI,CAAC;gBAC1B,CAAC,UAAU,EAAE,OAAO,CAAC,QAAQ,CAAC;gBAC9B,CAAC,QAAQ,EAAE,OAAO,CAAC,eAAe,CAAC;aACtC;SACJ,CAAC,CAAC;IACP,CAAC;AACL,CAAC,CAAC"}
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAC,eAAe,EAAC,MAAM,qBAAqB,CAAC;AACpD,YAAY,EAAC,sBAAsB,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,qBAAqB,EAAC,MAAM,qBAAqB,CAAC;AA2EpI,wBAAsB,GAAG,kBAgExB"}
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getDefaultSiteManager, getSiteManager } from '@jalsoedesign/filezilla-core';
|
|
2
2
|
import { listCommand } from './commands/list.js';
|
|
3
3
|
import { getCommand } from './commands/get.js';
|
|
4
|
+
import { searchCommand } from './commands/search.js';
|
|
4
5
|
import { runCheckCommand } from './commands/check.js';
|
|
5
6
|
export { checkConnection } from './commands/check.js';
|
|
6
7
|
import * as process from 'process';
|
|
@@ -10,6 +11,7 @@ Usage: filezilla-js <command> [options] [args]
|
|
|
10
11
|
|
|
11
12
|
Commands:
|
|
12
13
|
list List all servers
|
|
14
|
+
search <term> Search all saved fields and show profile details
|
|
13
15
|
get <path> [property] Get a server or a specific property value
|
|
14
16
|
check <path> Check a connection without remote mutations (check --help)
|
|
15
17
|
|
|
@@ -17,7 +19,7 @@ Options:
|
|
|
17
19
|
--file <path> Specify the sitemanager.xml file path
|
|
18
20
|
--json Output in JSON format
|
|
19
21
|
--table Output in table format
|
|
20
|
-
--search <term> Search
|
|
22
|
+
--search <term> Search all fields without a command; name/path with list/get
|
|
21
23
|
--recurse Return results in a nested structure (requires --json)
|
|
22
24
|
--full Return full server properties when using list command
|
|
23
25
|
--show-password Show the actual password in output (otherwise hidden)
|
|
@@ -26,6 +28,8 @@ Options:
|
|
|
26
28
|
--help, -h Show this help message
|
|
27
29
|
|
|
28
30
|
Examples:
|
|
31
|
+
filezilla-js --search clientName --show-password
|
|
32
|
+
filezilla-js search 10.2.3.4
|
|
29
33
|
filezilla-js list
|
|
30
34
|
filezilla-js list --json
|
|
31
35
|
filezilla-js list --table
|
|
@@ -58,7 +62,10 @@ function parseArgs() {
|
|
|
58
62
|
else if (arg === '--file' && i + 1 < args.length) {
|
|
59
63
|
options.file = args[++i];
|
|
60
64
|
}
|
|
61
|
-
else if (arg === '--search'
|
|
65
|
+
else if (arg === '--search') {
|
|
66
|
+
if (i + 1 >= args.length || args[i + 1].startsWith('--')) {
|
|
67
|
+
throw new Error('--search requires a term');
|
|
68
|
+
}
|
|
62
69
|
options.search = args[++i];
|
|
63
70
|
}
|
|
64
71
|
else if (arg === '--help' || arg === '-h') {
|
|
@@ -78,16 +85,27 @@ export async function run() {
|
|
|
78
85
|
await runCheckCommand(process.argv.slice(3));
|
|
79
86
|
return;
|
|
80
87
|
}
|
|
81
|
-
|
|
82
|
-
|
|
88
|
+
let parsed;
|
|
89
|
+
try {
|
|
90
|
+
parsed = parseArgs();
|
|
91
|
+
}
|
|
92
|
+
catch (error) {
|
|
93
|
+
console.error(process.argv.includes('--json') ?
|
|
94
|
+
JSON.stringify({ error: error.message }) :
|
|
95
|
+
`Error: ${error.message}`);
|
|
96
|
+
process.exit(1);
|
|
97
|
+
}
|
|
98
|
+
const { options, positional } = parsed;
|
|
99
|
+
if (options.help || (positional.length === 0 && options.search === undefined)) {
|
|
83
100
|
showHelp();
|
|
84
101
|
return;
|
|
85
102
|
}
|
|
86
|
-
const command = positional[0];
|
|
103
|
+
const command = positional[0] ?? 'search';
|
|
87
104
|
const commandArgs = positional.slice(1);
|
|
88
105
|
const commands = {
|
|
89
106
|
list: listCommand,
|
|
90
107
|
get: getCommand,
|
|
108
|
+
search: searchCommand,
|
|
91
109
|
};
|
|
92
110
|
const handler = commands[command];
|
|
93
111
|
if (!handler) {
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,qBAAqB,EAAE,cAAc,EAAC,MAAM,8BAA8B,CAAC;AAEnF,OAAO,EAAC,WAAW,EAAC,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAC,UAAU,EAAC,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAC,eAAe,EAAC,MAAM,qBAAqB,CAAC;AAEpD,OAAO,EAAC,eAAe,EAAC,MAAM,qBAAqB,CAAC;AAEpD,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AAEnC,SAAS,QAAQ;IACb,OAAO,CAAC,GAAG,CAAC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,qBAAqB,EAAE,cAAc,EAAC,MAAM,8BAA8B,CAAC;AAEnF,OAAO,EAAC,WAAW,EAAC,MAAM,oBAAoB,CAAC;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AAC;QACd,IAAI,OAAO,CAAC,IAAI,EAAE,CAAC;YACf,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,EAAC,KAAK,EAAE,CAAC,CAAC,OAAO,EAAC,CAAC,CAAC,CAAC;QACtD,CAAC;aAAM,CAAC;YACJ,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;QACzC,CAAC;QAED,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACpB,CAAC;AACL,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jalsoedesign/filezilla-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Command-line interface for querying FileZilla sitemanager.xml files",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -17,16 +17,16 @@
|
|
|
17
17
|
"prepack": "npm run build"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@jalsoedesign/filezilla-core": "^1.0.0",
|
|
21
|
-
"chalk": "6.0.0",
|
|
22
20
|
"@jalsoedesign/filezilla-connector-abstract": "^1.0.0",
|
|
23
21
|
"@jalsoedesign/filezilla-connector-ftp": "^1.0.0",
|
|
24
|
-
"@jalsoedesign/filezilla-connector-sftp": "^1.0.0"
|
|
22
|
+
"@jalsoedesign/filezilla-connector-sftp": "^1.0.0",
|
|
23
|
+
"@jalsoedesign/filezilla-core": "^1.1.0",
|
|
24
|
+
"chalk": "6.0.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"
|
|
27
|
+
"tsx": "4.23.13",
|
|
28
28
|
"typescript": "6.0.3",
|
|
29
|
-
"
|
|
29
|
+
"vitest": "5.0.0"
|
|
30
30
|
},
|
|
31
31
|
"license": "MIT",
|
|
32
32
|
"engines": {
|