cloudcmd 19.7.1 → 19.8.0

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/ChangeLog CHANGED
@@ -1,3 +1,11 @@
1
+ 2026.03.20, v19.8.0
2
+
3
+ fix:
4
+ - 59037f2c cloudcmd: bin: --show-config
5
+
6
+ feature:
7
+ - 10934b3a cloudcmd: add ability to show modification time (#230)
8
+
1
9
  2026.03.18, v19.7.1
2
10
 
3
11
  feature:
package/HELP.md CHANGED
@@ -1,4 +1,4 @@
1
- # Cloud Commander v19.7.1
1
+ # Cloud Commander v19.8.0
2
2
 
3
3
  ### [Main][MainURL] [Blog][BlogURL] [Support][SupportURL] [Demo][DemoURL]
4
4
 
@@ -1111,6 +1111,7 @@ There are a lot of ways to be involved in `Cloud Commander` development:
1111
1111
 
1112
1112
  ## Version history
1113
1113
 
1114
+ - *2026.03.20*, **[v19.8.0](//github.com/coderaiser/cloudcmd/releases/tag/v19.8.0)**
1114
1115
  - *2026.03.18*, **[v19.7.1](//github.com/coderaiser/cloudcmd/releases/tag/v19.7.1)**
1115
1116
  - *2026.03.17*, **[v19.7.0](//github.com/coderaiser/cloudcmd/releases/tag/v19.7.0)**
1116
1117
  - *2026.03.17*, **[v19.6.9](//github.com/coderaiser/cloudcmd/releases/tag/v19.6.9)**
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Cloud Commander v19.7.1 [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Codacy][CodacyIMG]][CodacyURL] [![Gitter][GitterIMGURL]][GitterURL]
1
+ # Cloud Commander v19.8.0 [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Codacy][CodacyIMG]][CodacyURL] [![Gitter][GitterIMGURL]][GitterURL]
2
2
 
3
3
  ### [Main][MainURL] [Blog][BlogURL] [Support][SupportURL] [Demo][DemoURL]
4
4
 
package/bin/cloudcmd.js CHANGED
@@ -298,8 +298,8 @@ function port(arg) {
298
298
  }
299
299
 
300
300
  async function showConfig() {
301
- const show = await simport('../server/show-config');
302
- const data = show(config('*'));
301
+ const {showConfig} = await import('../server/show-config.js');
302
+ const data = showConfig(config('*'));
303
303
 
304
304
  console.log(data);
305
305
  }
@@ -154,6 +154,7 @@ export const buildFromJSON = (params) => {
154
154
  const name = getFieldName('name');
155
155
  const size = getFieldName('size');
156
156
  const date = getFieldName('date');
157
+ const time = getFieldName('time');
157
158
 
158
159
  const header = rendy(templateFile, {
159
160
  tag: 'div',
@@ -163,6 +164,7 @@ export const buildFromJSON = (params) => {
163
164
  name,
164
165
  size,
165
166
  date,
167
+ time,
166
168
  owner,
167
169
  mode,
168
170
  });
@@ -195,6 +197,7 @@ export const buildFromJSON = (params) => {
195
197
  name: linkResult,
196
198
  size: '<dir>',
197
199
  date: '--.--.----',
200
+ time: '--.--.----',
198
201
  owner: '.',
199
202
  mode: '--- --- ---',
200
203
  });
@@ -213,6 +216,7 @@ export const buildFromJSON = (params) => {
213
216
  type,
214
217
  mode,
215
218
  date,
219
+ time,
216
220
  owner,
217
221
  size,
218
222
  } = file;
@@ -235,6 +239,7 @@ export const buildFromJSON = (params) => {
235
239
  name: linkResult,
236
240
  size,
237
241
  date: formatDate(date),
242
+ time,
238
243
  owner,
239
244
  mode,
240
245
  });
@@ -249,6 +254,7 @@ export const buildFromJSON = (params) => {
249
254
  const updateField = (file) => ({
250
255
  ...file,
251
256
  date: file.date || '--.--.----',
257
+ time: file.time || '--.--.----',
252
258
  owner: file.owner || 'root',
253
259
  size: getSize(file),
254
260
  });