- Change return type for
ls
,lsfiles
,lsdirs
,walk
,walkfiles
, andwalkdirs
to an iterable class,Ls
. Previously, these functions were generators. - Add option to backup to an archive file in
backup
. - Add functions:
archive
chmod
chown
lsarchive
unarchive
- Import all utility functions into
shelmet
namespace. - Remove
shelmet.sh
catch-all submodule in favor of splitting it into smaller submodules,shelmet.filesystem
andshelmet.path
. Recommend usingimport shelmet as sh
as primary usage pattern instead of importing submodules. breaking change - Add functions:
backup
read
readbytes
readchunks
readlines
readtext
write
writebytes
writelines
writetext
- Rename
sh.command
tosh.cmd
. breaking change - Add methods to
sh.Command
/sh.command
:Command.and_
Command.or_
Command.after
- Add to
sh
module:Command
command
cwd
homedir
run
- Add to
sh
module:atomicdir
- Rename
atomic_write
toatomicfile
. breaking change
- First release.
- Add
sh
module:atomic_write
cd
cp
dirsync
environ
fsync
getdirsize
ls
lsdirs
lsfiles
mkdir
mv
reljoin
rm
rmdir
rmfile
touch
umask
walk
walkdirs
walkfiles