Systems and methods for implementing a command stack for an application are disclosed and an embodiment includes receiving an input for executing a first command of the application, initiating execution of the first command, executing one or more second commands which are set to execute based on execution of the first command, completing execution of the first command, and including the first command in the command stack such that an association is defined between the first command and the one or more second commands. In one embodiment, defining the association in the command stack between the first command the one or more second commands may include generating a first nested command stack associated with the first command, including the one or more second commands in the first nested command stack, and including the first command and the first nested command stack in the command stack.
展开▼