commands library

The activitylog:clean command, for bootstrap/commands.dart:

import 'package:daravel_activitylog/commands.dart';

final List<CommandFactory> commands = [...activitylogCommands];

A library of its own, so the server does not compile the CLI it needs.

Classes

ActivitylogCleanCommand
activitylog:clean [log] [--days=N] [--force] (Spatie's): deletes the activities older than --days (ACTIVITY_LOGGER_DELETE_RECORDS_OLDER_THAN_DAYS, 365 by default), of one log when log is given.

Constants

activitylogCommands → const List<CommandFactory>
The activitylog:* commands, for bootstrap/commands.dart.