CLI: Add new command to upload a directory (#2659)

This commit is contained in:
Andrey Andreyevich Bienkowski
2026-05-07 01:20:42 +03:00
committed by GitHub
parent 7c6d147ff7
commit 2ab144cff2
7 changed files with 173 additions and 4 deletions
+2 -2
View File
@@ -178,9 +178,9 @@ describe("getTabCompletionPossibilities", function () {
}
});
it("completes the ls and cd commands", async () => {
it("completes the ls, cd and upload commands", async () => {
writeFiles();
for (const command of ["ls", "cd"]) {
for (const command of ["ls", "cd", "upload"]) {
const options = await getTabCompletionPossibilities(`${command} `, root);
expect(options.sort()).toEqual(["folder1/", "anotherFolder/"].sort());
}