1
Fork 0

move binaries into bin directory

This commit is contained in:
Conduitry 2024-03-24 16:14:30 -04:00
parent bff80e3fd3
commit 55ad4391a7
9 changed files with 19 additions and 19 deletions

View file

@ -1,8 +1,8 @@
#!/usr/bin/env node
import { traverse } from './lib/aug.js';
import { process_db } from './lib/sites/e621.js';
import { log } from './lib/log.js';
import { traverse } from '../lib/aug.js';
import { log } from '../lib/log.js';
import { process_db } from '../lib/sites/e621.js';
const aug = await traverse(process.argv[2]?.replace(/\/$/, '') || '.', 'md5');

View file

@ -1,7 +1,7 @@
#!/usr/bin/env node
import { traverse } from './lib/batch.js';
import { get_files } from './lib/sites/allthefallen.js';
import { traverse } from '../lib/batch.js';
import { get_files } from '../lib/sites/allthefallen.js';
const batch = await traverse('.');

View file

@ -1,10 +1,10 @@
#!/usr/bin/env node
import * as fs from 'node:fs';
import { traverse } from './lib/batch.js';
import { db_date, get_files, process_db } from './lib/sites/e621.js';
import { log } from './lib/log.js';
import { escape_regex } from './lib/regex.js';
import { traverse } from '../lib/batch.js';
import { log } from '../lib/log.js';
import { escape_regex } from '../lib/regex.js';
import { db_date, get_files, process_db } from '../lib/sites/e621.js';
log('Loading existing tags');
const all_tags = new Set();

View file

@ -1,7 +1,7 @@
#!/usr/bin/env node
import { traverse } from './lib/batch.js';
import { get_files } from './lib/sites/inkbunny.js';
import { traverse } from '../lib/batch.js';
import { get_files } from '../lib/sites/inkbunny.js';
const batch = await traverse('.');

View file

@ -1,7 +1,7 @@
#!/usr/bin/env node
import { parse_arg, start } from './lib/dl.js';
import { get_files } from './lib/sites/allthefallen.js';
import { parse_arg, start } from '../lib/dl.js';
import { get_files } from '../lib/sites/allthefallen.js';
const dl = start();

View file

@ -1,7 +1,7 @@
#!/usr/bin/env node
import { parse_arg, start } from './lib/dl.js';
import { get_files } from './lib/sites/e621.js';
import { parse_arg, start } from '../lib/dl.js';
import { get_files } from '../lib/sites/e621.js';
const dl = start();

View file

@ -1,7 +1,7 @@
#!/usr/bin/env node
import { start } from './lib/dl.js';
import { get_files } from './lib/sites/inkbunny.js';
import { start } from '../lib/dl.js';
import { get_files } from '../lib/sites/inkbunny.js';
const dl = start();

View file

@ -1,5 +1,5 @@
#!/usr/bin/env node
import { booru } from './lib/sites/booru.js';
import { booru } from '../lib/sites/booru.js';
await booru('rule34.xxx', 1000);

View file

@ -1,5 +1,5 @@
#!/usr/bin/env node
import { booru } from './lib/sites/booru.js';
import { booru } from '../lib/sites/booru.js';
await booru('tbib.org', 100);