~cadence/bibliogram-updater

bibliogram-updater/clean.fish -rwxr-xr-x 388 bytes
879b86bbCadence Ember Ask whether to use Tor 30 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env fish

cd (dirname (status filename))

source utils/interactive.fish
source utils/constants.fish

echo 'Really clean?'
echo -n 'This will delete the directories `bibliogram`,'
if test -e $node_folder
	echo " `$node_folder`,"
else
	echo
end
echo 'and any files inside `state`.'
continue_or_quit

rm -rvf bibliogram | tail -n 1
rm -rvf $node_folder | tail -n 1
rm -vf state/*